401 Unauthorized using the Code Samples in the APIS Tab and POSTMAN calls

Like the other Issues listed here, I've been given Development access, including 2 subscription keys. When I try to use the 'Try It' API examples or generate my own API calls through postman, I'm given 401 Unauthorized errors (when passing either subscriptions keys through the Ocp-Apim-Subscription-Key header). Thanks

Attachments

Comments

  •  
    Hello Could you please help me for using correctly the API? I am trying to following the instructions for requesting the API by Postmant or Code C# using my KEY and one ID Object asset and the response is "No Authorized" I am attaching the screens, appreciate your help Regards
    Posted by Hidden Tue, 05 Nov 2019 16:15:51 GMT
  •  
    Hi! Your application needs to pass in the subscription key in the Ocp-Apim-Subscription-Key header, as well as an access token in the Authorization header as a bearer token. Subscription Keys are required to identify your application at the Gateway level, whereas bearer tokens are used to identify the user your application is acting on behalf of (e.g., uploading an asset, creating a category etc.) at the API level. The absence of any of these headers will result in a 401-Unauthorized response. Hope this helps. Fernando
    Posted by Hidden Tue, 05 Nov 2019 18:30:32 GMT


You're not signed in. Please sign-in to report an issue or post a comment.