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:
Now the issue that we are facing is that We are receiving this error while trying to generate the access token using JWT and payload.
Server returned HTTP response code: 400 for URL: https://ims-na1.adobelogin.com/ims/exchange/jwt/
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.
Any guess, what might be wrong here? W are stuck on this .
Any suggestion/help would be great.
The issue is resolved now. I opened a case with firstname.lastname@example.org. They helped us with this.
While trying to create the JWT Token in Adobe IO console. I was copying the key without the following(only the key part of it ).
------BEGIN PRIVATE KEY-----
-----END PRIVATE KEY-----
So it turns out that the entire content of the private key has to be copied in order to generate the JWT Token.I am able to generate it now.
Though the issue of JWT token is resolved via Adobe IO console. The initial issue is still not resolved.
When I am programmatically generating the JWT token, on further using this to generate the access token it is giving me errors.
Note : JWT token generated through Adobe IO console is different from the JWT Token generated via a java program. ( Ref. Adobe document,
Service Account Integration )
It's under the topic Create JWT. Adding a snip for reference. Please let me know if there is any update on this.