401 Unauthorized using the Code Samples in the APIS Tab

I was granted access last friday, but any of the code samples I attempt to use are giving me a 401. Please let me know how to resolve this.

Comments

  •  
    I am using the sample by Web tam Media Valet and the result is not authorized I am attaching screens regards
    Posted by Hidden Tue, 05 Nov 2019 16:23:28 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:28:21 GMT


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