Getting Error while generating Access Token (ACS- API) in AEM | Community
Skip to main content
Level 3
Mar 4, 2022 5:30 PM UTC
Solved

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

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.
costa_n11Accepted solution
Employee
Mar 17, 2022 9:38 AM UTC

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

7 replies

Sukrity_Wadhwa
Employee
Jun 15, 2022 7:26 PM UTC

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!

Translate
Sukrity Wadhwa
NaveenVeAuthor
Level 3
Jul 12, 2022 12:23 PM UTC

Could you please resolve this issue.

Translate
costa_n11Accepted solution
Employee
Mar 17, 2022 9:38 AM UTC

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

Translate
Level 9
Mar 11, 2022 11:58 AM UTC

@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?

Translate
_Manoj_Kumar_
New Participant
Mar 5, 2022 2:15 PM UTC

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.

 

 

 

Translate
     Manoj     Find me on LinkedIn
NaveenVeAuthor
Level 3
Mar 7, 2022 6:07 PM UTC

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.

Translate
NaveenVeAuthor
Level 3
Mar 4, 2022 5:36 PM UTC

Hi All, 

Could you please help on this.


Regards

Naveen V

Translate