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.
I tried creating the JWT token from Adobe IO Console. And I am faced with below error. I have used these commands to create private and public keys.
# create the certificate and private key using openssl
$ openssl req -nodes -text -x509 -newkey rsa:2048 -keyout secret.pem -out certificate.pem -days 356
# convert private key to DER format
$ openssl pkcs8 -topk8 -inform PEM -outform DER -in secret.pem -nocrypt > secret.key
As far as using java to create tokens is concerned. I am able to create a JWT token with the same payload but that 's not working when I am using it to create the access token.