Scheduling fails due to the “nanodbc/nanodbc.cpp: JWT token is invalid.” or "nanodbc/nanodbc.cpp: User access disabled" error

If your previously functioning schedule begins failing with the error messages like;

  • nanodbc/nanodbc.cpp: JWT token is invalid
  • nanodbc/nanodbc.cpp: User access disabled

it is likely due to a database connection issue. These errors originate from the ODBC layer.

To resolve this issue:

  1. Open Exploratory Desktop and attempt to re-import the data.
  2. If the problem persists, review and update the database and data source settings. Possible causes include:
    • A password change.
    • A locked account.
    • Changes to the user’s access scope.
  3. Republish the content, then select “Run Immediately” from the Scheduling dialog to confirm the fix.