Skip to main content
Level 4
Apr 20, 2022 5:30 PM UTC
Solved

Observability API - Access Denied

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.
Manoj_Kumar
Manoj_KumarAccepted solution
Community Advisor
Apr 20, 2022 11:06 PM UTC

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  | https://themartech.pro

8 replies

Manoj_Kumar
Community Advisor
Manoj_KumarCommunity AdvisorAccepted solution
Community Advisor
Apr 20, 2022 11:06 PM UTC

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


Translate
Manoj  | https://themartech.pro
Level 4
Apr 22, 2022 3:22 PM UTC

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.

Translate
Manoj_Kumar
Community Advisor
Community Advisor
Apr 28, 2022 12:47 AM UTC

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

 

Translate
Manoj  | https://themartech.pro
Level 4
Apr 28, 2022 6:44 PM UTC

Thanks @_manoj_kumar_ it worked

Translate