16
Views
1
Comments
[JWT] Error with TokenHandler in Development Environment
jwt
Service icon
Forge asset by João Almeida

Hi everyone,

I'm encountering an issue when running a Service Action named ReadTokenService in my Development environment. The error message is as follows:

'microsoft.identitymodel.tokens.tokenhandler' from assembly 'microsoft.identitymodel.tokens, version=5.2.2.0, culture=neutral, publickeytoken=31bf3856ad364e35'

Interestingly, this issue does not occur when I run the same action in my Personal Environment — it works fine there.

I'm trying to understand what might be causing this issue specifically in the Development environment and how I can resolve it.

Has anyone experienced something similar or know the root cause and solution?

Thanks in advance for your help!

2023-12-11 08-54-13
Neha Agrawal
Champion

Hello, 

You can try below troubleshoooting tips:

  • Check the exact version of the "JWT (O11)" component and its dependencies in both Development and Personal environments via Service Center. Ensure they match.
  • Examine References: In your module in Service Studio (Development), check the references for the "JWT (O11)" component and any other references to microsoft.identitymodel.tokens. Look for warnings or different versions.
  • Review Deployment Logs (Development): Check Service Center logs for deployment errors related to your module or the JWT component.
  • Republish (Development): Republish the "JWT (O11)" component in Service Center, followed by your module.
  • Simple Test (Development): Create a basic test action using the JWT component to see if the issue persists.
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.