Skip to Content
May 31, 2020 at 02:54 AM

Swagger returns Error 401 - Unathorized



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.