Forum

Browse topics, discover Works With Legrand community!

The provided JWE contains a field that is not base64 compliant

I’m testing the API reading the tutorial about PostMan:

Create an application using Postman v6.1.3

I’m stuck on Step 4 because the POST request return the following error:

<span style=”color: #000000; font-family: ‘Times New Roman’; font-size: medium;”>{ “error”: “invalid_grant”, “error_description”: “AADB2C90090: The provided JWE contains a field that is not base64 compliant.\r\nCorrelation ID: 6135addd-xxxxxxx\r\nTimestamp: 2023-01-24 17:39:08Z\r\n” }</span>

what does it means? How could I solve the problem?

I use the following params as body request of POST on <span style=”color: #212121; font-family: Inter, OpenSans, Helvetica, Arial, sans-serif; font-size: 12px; white-space: pre-wrap;”>https://partners-login.eliotbylegrand.com/token</span&gt;

client_id:19xxxxxx

grant_type:authorization_code

code: (I copied the value from result URL of step 3)

client_secret: JYEXXXXX

 

thanks for your support

 

Hello,

It seems OK on my side. I suppose you missed a character while you copy/pasted the “code” value

Try to redo the process /authorize to get a new value, then redo a /token request

If it still doesn’t work, please send me a screenshot of your Postman request via the contact form

Have a good day,

Leslie – Community Manager

I double checked the code … your assumption was correct, I was missing a character at the end

Thanks

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.