"access_denied" message when requesting an auth token for the Adobe Analytics API | Community
Skip to main content
Level 2
December 6, 2024
Solved

"access_denied" message when requesting an auth token for the Adobe Analytics API

  • December 6, 2024
  • 2 replies
  • 1080 views

We’ve developed an integration with the Adobe Analytics API that allows clients to pull user and visit data for their campaigns directly into our campaign builder, enabling them to report on campaign performance.

 

Our integration uses the OAuth process, requiring someone from the client to reconnect through our site every two weeks to obtain a new refresh token. However, during the most recent reconnection attempt, instead of receiving a refresh token, an “access_denied” error message was returned instead.

 

Could this issue be related to the permissions of the individual attempting to reconnect, or might there be another cause for the “access_denied” error? I couldn’t find any relevant information in the documentation.

Best answer by Jennifer_Dungan

Unfortunately, that error message doesn't provide a lot of detail. I wish Adobe's error messages were more user friendly.

 

Your best bet would be to contact and work with Client Care... You can share the user account with them, provide more information about the request, and even run live tests with that account for them to get more details from the backend.

 

Good Luck!

2 replies

Jennifer_Dungan
Community Advisor and Adobe Champion
Jennifer_DunganCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
December 6, 2024

Unfortunately, that error message doesn't provide a lot of detail. I wish Adobe's error messages were more user friendly.

 

Your best bet would be to contact and work with Client Care... You can share the user account with them, provide more information about the request, and even run live tests with that account for them to get more details from the backend.

 

Good Luck!

Isha__Gupta
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
December 6, 2024

Hi @upliftertom ,

Not sure but this could be due to deprecation of OAuth method? I'd suggest you move to OAuth Server-to-Server integration if possible. It would not require you to obtain a new refresh token every two weeks.

 

Other issue could be - check if the API project has Web Services API enabled? If nothing works out, maybe as @jennifer_dungan suggested, reach out to client care.

 

Best,

Isha

Level 2
December 6, 2024

Is Oauth deprecated too? I thought it was just the JWT method, and that wasn't due till next month?

 

We're going to explore the server-to-server integration

Isha__Gupta
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
December 6, 2024

Apologies but I thought you were using the old method which was deprecated before JWT even. It was also called as OAuth and I remember that requires you to authenticate every 14 days? If you are on the latest OAuth Server to Server method, then it won't be deprecated. As you mentioned, JWT is getting deprecated next month.

 

Can you please confirm which auth method you are using for your integration?