cancel
Showing results for 
Search instead for 
Did you mean: 

Swagger returns Error 401 - Unathorized

05-31-2020 4:54 AM
836 views 1 comments
0 Likes
SAP Managed Tags
Subscribe

Hi!

I deploy chaincode via Hyperledger Fabric Dashboard and then try to test it with Swagger. Swagger offers me to authorize with my client_id and client_secret, they fit, but when I execute one of functions, I always get error 401 - Unathorize.

That happens when I deploy example chaincode and when I deploy chaincode with API that I wrote myself. In my own API there is no securuty for functions but I still get this error. Please, help me understand, what's wrong.

0 Likes

Accepted Solutions (0)

Answers (0)