web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

Is there a way to change the JWT Token Expiry in Business Central

(0) ShareShare
ReportReport
Posted on by 3,967

I have received a following error in my integration solution.

Title:Dynamics NAV
Win32 ThreadId:42480
Message: The following error has occurred in the Dynamics NAV Connector:
Error Number:0
Error Description:Error Code: 500 Description: The JWT token is not valid because its validity period has ended.  CorrelationId:  d4940f5b-c300-479a-a54b-a34f1e180292.
Error Detail:System.Exception: Error Code: 500 Description: The JWT token is not valid because its validity period has ended.  CorrelationId:  d4940f5b-c300-479a-a54b-a34f1e180292.

Upon closer inspection it was clear that JWT Token in BC expires in about 2 hours.
I wanted to know if there is a way to increase the expiration of JWT Token in Business Central.

Thanks,
Olister

I have the same question (0)
  • Suggested answer
    Andy Sather Profile Picture
    on at
    RE: Is there a way to change the JWT Token Expiry in Business Central

    Hello  - We currently do not have dedicated Dev support via the Dynamics 365 Business Central forums, but I wanted to provide you some additional resources to assist.  If you need assistance with debugging or coding I would recommend discussing this on one of our communities.

    www.yammer.com/dynamicsnavdev

    I will open this up to the community in case they have something to add.

  • Chenjerai Madziwa Profile Picture
    5 on at
    RE: Is there a way to change the JWT Token Expiry in Business Central

    Hi,

    I am facing the same issue. Did you manage to fix this?

  • Suggested answer
    Olister Rumao Profile Picture
    3,967 on at
    RE: Is there a way to change the JWT Token Expiry in Business Central

    Hi,

    I created a dynamic query to filter a limited number of records and loop the filter multiple times until all records are processed.

    Thanks.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,705

#2
Sumit Singh Profile Picture

Sumit Singh 2,015

#3
YUN ZHU Profile Picture

YUN ZHU 2,004 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans