Getting Error while generating Access Token (ACS- API) in AEM | Community
Skip to main content
Level 3
March 4, 2022
Solved

Getting Error while generating Access Token (ACS- API) in AEM

  • March 4, 2022
  • 5 replies
  • 2387 views

Hi Team,

I am trying to Test the transactional messaging via Adobe Campaign Standard through API call.

 

We have gone through the following references regarding usage of Adobe Campaign Standard APIs:

 

https://console.adobe.io/integrations

 

We checked it using POSTMAN. We are getting the below error. But using the Same JWT token we were able to generate access token earlier. We did not change anything in our code.

 

  • We have done the integration with ACS using Adobe I/O and have got the API Key (Client ID), Technical account ID, Technical account email, Organization ID, Client secret.
  • Using these values we generated a JWT Token (Java).
  • Further with the JWT Token, we were able to generate the values Access Token, Token Type, and expires_in(Java).

 

@fabios23415219 

@Senthil24 

@keremkulak 

@florentlb 

 

I have referred the below issue.

https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-standard/getting-error-while-generating-access-token-acs-api/td-p/282427

 

 

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 costa_n11

Hi there,

Did you get the JWT token from the Adobe I/O project itself? Did you get the postman environment from Adobe I/O project too? looks like the orgId used to generate the token doe snot have the correct structure.....as the error says, it must finish by @AdobeOrg

Thanks

Denis

5 replies

NaveenVeAuthor
Level 3
March 4, 2022

Hi All, 

Could you please help on this.


Regards

Naveen V

Manoj_Kumar
Community Advisor
Community Advisor
March 5, 2022

Hello @naveenve 

Looks like you are passing the payload in an incorrect way.

 

The client_id, client_sect, and jwt_token should be passed as body content but you have added them as parameters.

 

Refer to the below image.

 

 

 

Manoj  | https://themartech.pro
NaveenVeAuthor
Level 3
March 7, 2022

HI Manoj, 

Thanks for replying on this.

 

 

If I have the jwt token in jwt.io url then it is saying as invalid Signature. Could you please help on this how to resolve.

Level 9
March 11, 2022

@naveenve 

 

Can you try generating a new public/private key pair for your integration and further generate a jwt and bearer token to see it this works?

costa_n11Adobe EmployeeAccepted solution
Adobe Employee
March 17, 2022

Hi there,

Did you get the JWT token from the Adobe I/O project itself? Did you get the postman environment from Adobe I/O project too? looks like the orgId used to generate the token doe snot have the correct structure.....as the error says, it must finish by @AdobeOrg

Thanks

Denis

Sukrity_Wadhwa
Community Manager
Community Manager
June 15, 2022

Hi @naveenve,

Were you able to resolve this query with the help of the given solutions or do you still need more help here? Do let us know. In case the given solutions were helpful, then kindly choose the one that helped you the most as the 'Correct Reply'.
Thanks!

Sukrity Wadhwa
NaveenVeAuthor
Level 3
July 12, 2022

Could you please resolve this issue.