Observability API - Access Denied | Community
Skip to main content
New Participant
April 20, 2022
Solved

Observability API - Access Denied

  • April 20, 2022
  • 2 replies
  • 1886 views

I have full and complete access to my Sandbox - 118765E655DEE7427F000101@AdobeOrg .

 

Problem 1: have been trying to access https://platform.adobe.io/data/infrastructure/observability/insights/metrics, however been getting following error 

Problem 2: Inspite of passing sandbox  name, it says missing Sandbox name.

 

{
    "errorCode""OBS-4005",
    "httpStatus"401,
    "title""Access Denied",
    "details""Access Denied. x-Sandbox-Name is missing."
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by _Manoj_Kumar_

Hello @navin_kumar0601 

118765E655DEE7427F000101@AdobeOrg  is your IMS org ID. Sandbox name is different.

Add an additional header in your API request. Try using x-sandbox-name as a key and prod as a value.
If this does not work, then change the value to your company name for eg. google


2 replies

New Participant
April 28, 2022

Thanks @_manoj_kumar_ it worked

_Manoj_Kumar_
_Manoj_Kumar_Accepted solution
New Participant
April 20, 2022

Hello @navin_kumar0601 

118765E655DEE7427F000101@AdobeOrg  is your IMS org ID. Sandbox name is different.

Add an additional header in your API request. Try using x-sandbox-name as a key and prod as a value.
If this does not work, then change the value to your company name for eg. google


     Manoj     Find me on LinkedIn
New Participant
April 22, 2022

Offcourse, I tried with x-sandbox-name, however its same issue.

@_manoj_kumar_   could you please try and check if you are getting response for Observability Metrics API.

_Manoj_Kumar_
New Participant
April 28, 2022

Hello @navin_kumar0601 ,

Confirming it is working for me by adding the x-sandbox-name-value manually.

 

As I mentioned in my previous comment it might not work if you are using the {{ SANDBOX_NAME }} variable from the environment.

You will have to change the value specified for this API call.

The possible value can be your company name for eg. google

 

     Manoj     Find me on LinkedIn