IBM Support

Cognos Analytics data source connection with Google BIgQuery, user is getting Invalid JWT: Token must be a short-lived token (60 minutes) and in a reasonable timeframe

Question & Answer


Question

How to fix Invalid JWT: Token must be a short-lived token (60 minutes) and in a reasonable timeframe when user is testing Cognos Analytics with Google BigQuery.
XQE-DS-0006 Unable to logon to the data source.
[Simba][BigQueryJDBCDriver](100004) HttpTransport IO error : 400 Bad Request
{
  "error" : "invalid_grant",
  "error_description" : "Invalid JWT: Token must be a short-lived token (60 minutes) and in a reasonable timeframe. Check your iat and exp values and use a clock with skew to account for clock differences between systems."
}.
[Simba][BigQueryJDBCDriver](100004) HttpTransport IO error : 400 Bad Request
{
  "error" : "invalid_grant",
  "error_description" : "Invalid JWT: Token must be a short-lived token (60 minutes) and in a reasonable timeframe. Check your iat and exp values and use a clock with skew to account for clock differences between systems."
}.
EXEC_JOB_EXECUTION_ERR

Cause

Windows 10 uses the Network Time Protocol (NTP) to connect with time servers on the internet to provide accurate system time. If the clock is not correctly synchronized, you will get an error message with Invalid JWT: Token must be a short-lived token (60 minutes) and in a reasonable timeframe.

Answer

How to add new time servers on Windows 10

  1. Open Control Panel.
  2. Click on Clock, Language, and Region.
  3. Click on Date and Time.
  4. Click on the Internet Time tab.
  5. Click the Change settings button.

  6. Check that the Synchronize with an internet time server option is selected

  7. Click the drop-down menu, and next to "Server," and select with time.nist.gov

  8. Click the Update now button to resynchronize.
  9. Click OK.
Test again with Google BigQuery with Cognos Analytics, you will be able to pass it.

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSTSF6","label":"IBM Cognos Analytics"},"Component":"Administration and Configuration v11x","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.0.x;11.1.x","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
28 August 2019

UID

ibm11072116