Skip to content

Latest commit

 

History

History
45 lines (25 loc) · 1.21 KB

File metadata and controls

45 lines (25 loc) · 1.21 KB

401 Unauthorized or 403 Forbidden

When you try to reach a service, you get 401 Unauthorized or 403 Forbidden in response.

The error 401 Unauthorized occurs when you try to access a Service that requires authentication, and the appropriate credentials were not provided or were incorrect. You get the error 403 Forbidden when you try to access a Service or perform an action for which you lack permission.

Make sure that you are using an active JSON Web Token (JWT) with proper scopes.

  1. Decode the JWT.

  2. Check the validity and scopes of the JWT:

    {
       "sub": ********,
       "scp": "test",
       "aud": ********,
       "iss": ******,
       "exp": 1697120462,
       "iat": ******,
       "jti": ******,
    }
    
  3. Get a JWT if needed.