Visa Developer Community

Highlighted
Helper

Unable to decrypt content or authentication tag do not match.

Hi,

 

I have received sample from VISA developer to decrypt JWE token, when I use the JOSE JWT library, I got the following error

 

Unable to decrypt content or authentication tag do not match.

 

Can you please some guide what could be wrong.

 

Thank you

R.Raveen

3 REPLIES 3
Visa Dev Moderator

Re: Unable to decrypt content or authentication tag do not match.

Hi @Raveen,

 

If the issue persists, please provide us the Correlation ID and we can further investigate the issue.


Below are the steps to get the Correlation ID using a Google Chrome browser.
1>Open Chrome menu.
2>Click on More tools then Developer tools.
3>Check the box to Preserve Log for the Network Tab.
4>Click on the error and go to the Headers.
5>You can find the Correlation ID in the network log.

 

 

Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

Thanks,
Diana

Helper

Re: Unable to decrypt content or authentication tag do not match.

Hi,

 

Thank you for your response, but I am using sample JAVA provided by visa for JWE in standalone program. I am getting error in that application.

 

Can you able to provide sample in C# or someone from visa can help us.

 

Thank you.

Visa Dev Moderator

Re: Unable to decrypt content or authentication tag do not match.

Hi @Raveen,                             

 

Please let me know the API you are using for this project. To further investigate, please provide the following information:

1. End Point
2. Request Header
3. Request Body
4. Response Header (include the x-correlation-id)
5. Response Body

 

 

Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

Thanks,
Diana