Demo mode
TokenExpiredError

jwt expired

36m ago · Nov 15
Last seen:
2025-12-29 07:41:03 UTC
First seen:
2025-11-15 19:43:23 UTC

Report details 7


Error message: jwt expired
When: 36 minutes ago
Occurred at: 2025-12-29 07:41:03 +0000
Handled: true
Severity: error
Server name: 688aac2a79ea
Environment: production

Errors 10 frames


  • simulateExpressError
    /app/seed.js:148:15
    In App
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
      environment: "production",
    });
    const sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
    function simulateExpressError(scenario, message) {
      const ErrClass = global[scenario.type.split(".")[0]] || Error;
      const err = new ErrClass(message);
      err.name = scenario.type;
      throw err;
    }
    (async () => {
      let cycleTime = 0;
    
                        
  • ?
    /app/seed.js:199:11
    In App
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
            scope.addBreadcrumb({
              level: "info",
              category: randomChoice(["http", "auth", "db", "upload", "queue"]),
              message: randomChoice(BREADCRUMBS),
            });
            try {
              simulateExpressError(scenario, message);
            } catch (e) {
              Sentry.captureException(e);
              console.log(`Sent: ${e.name} – ${e.message}`);
            }
          });
          await sleep(Math.random() * 1500 + 500);
  • ?
    /app/node_modules/@sentry/opentelemetry/build/cjs/index.js:1308:14
    1301
    1302
    1303
    1304
    1305
    1306
    1307
    1308
    1309
    1310
    1311
    1312
    1313
    1314
    1315
        // We depend on the otelContextManager to handle the context/hub
        // We set the `SENTRY_FORK_ISOLATION_SCOPE_CONTEXT_KEY` context value, which is picked up by
        // the OTEL context manager, which uses the presence of this key to determine if it should
        // fork the isolation scope, or not
        // as by default, we don't want to fork this, unless triggered explicitly by `withScope`
        return api.context.with(ctx, () => {
          return callback(getCurrentScope());
        });
      }
      function withSetScope(scope, callback) {
        const ctx = getContextFromScope(scope) || api.context.active();
        // We depend on the otelContextManager to handle the context/hub
  • AsyncLocalStorage.run
    node:internal/async_local_storage/async_hooks:91:14
    No code available.
  • SentryContextManager.with
    /app/node_modules/@opentelemetry/context-async-hooks/build/src/AsyncLocalStorageContextManager.js:33:40
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
            this._asyncLocalStorage = new async_hooks_1.AsyncLocalStorage();
        }
        active() {
            return this._asyncLocalStorage.getStore() ?? api_1.ROOT_CONTEXT;
        }
        with(context, fn, thisArg, ...args) {
            const cb = thisArg == null ? fn : fn.bind(thisArg);
            return this._asyncLocalStorage.run(context, cb, ...args);
        }
        enable() {
            return this;
        }
        disable() {
            this._asyncLocalStorage.disable();
            return this;
  • SentryContextManager.with
    /app/node_modules/@sentry/opentelemetry/build/cjs/index.js:1433:24
    1426
    1427
    1428
    1429
    1430
    1431
    1432
    1433
    1434
    1435
    1436
    1437
    1438
    1439
    1440
          const ctx2 = ctx1
            .deleteValue(SENTRY_FORK_ISOLATION_SCOPE_CONTEXT_KEY)
            .deleteValue(SENTRY_FORK_SET_SCOPE_CONTEXT_KEY)
            .deleteValue(SENTRY_FORK_SET_ISOLATION_SCOPE_CONTEXT_KEY);
          setContextOnScope(newCurrentScope, ctx2);
    
                          
          return super.with(ctx2, fn, thisArg, ...args);
        }
      }
      return SentryContextManager ;
    }
    /**
  • ContextAPI.with
    /app/node_modules/@opentelemetry/api/build/src/api/context.js:60:46
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
         *
         * @param context context to be active during function execution
         * @param fn function to execute in a context
         * @param thisArg optional receiver to be used for calling fn
         * @param args optional arguments forwarded to fn
         */
        with(context, fn, thisArg, ...args) {
            return this._getContextManager().with(context, fn, thisArg, ...args);
        }
        /**
         * Bind a context to a target function or event emitter
         *
         * @param context context to bind to the event emitter or function. Defaults to the currently active context
         * @param target function or event emitter to bind
         */
  • Object.withScope
    /app/node_modules/@sentry/opentelemetry/build/cjs/index.js:1307:28
    1300
    1301
    1302
    1303
    1304
    1305
    1306
    1307
    1308
    1309
    1310
    1311
    1312
    1313
    1314
        const ctx = api.context.active();
        // We depend on the otelContextManager to handle the context/hub
        // We set the `SENTRY_FORK_ISOLATION_SCOPE_CONTEXT_KEY` context value, which is picked up by
        // the OTEL context manager, which uses the presence of this key to determine if it should
        // fork the isolation scope, or not
        // as by default, we don't want to fork this, unless triggered explicitly by `withScope`
        return api.context.with(ctx, () => {
          return callback(getCurrentScope());
        });
      }
      function withSetScope(scope, callback) {
        const ctx = getContextFromScope(scope) || api.context.active();
    
                        
  • Module.withScope
    /app/node_modules/@sentry/core/build/cjs/currentScopes.js:61:14
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
        if (!scope) {
          return acs.withScope(callback);
        }
        return acs.withSetScope(scope, callback);
      }
    
                          
      return acs.withScope(rest[0]);
    }
    /**
     * Attempts to fork the current isolation scope and the current scope based on the current async context strategy. If no
     * async context strategy is set, the isolation scope and the current scope will not be forked (this is currently the
     * case, for example, in the browser).
     *
  • ?
    /app/seed.js:171:14
    In App
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
        for (let i = 0; i < burstSize; i++) {
          const scenario = randomChoice(ERROR_SCENARIOS);
          const message = scenario.message.replace(/{}/g, () =>
            randomChoice(REPLACEMENTS)()
          );
    
                          
          Sentry.withScope((scope) => {
            scope.setUser({
              id: String(Math.floor(Math.random() * 100000 + 1)),
              username: `user_${Math.floor(Math.random() * 10000)}`,
              email: `user${Math.floor(Math.random() * 10000)}@example.com`,
            });
            scope.setTags({

Affected User 3


User ID: 87072
Username: user_4366
Email address: [email protected]

Tags 4


app: social_feed_api
environment: test
technology: express
version: 10.25.0

Contexts 7


app:
{
  "app_start_time": "2025-12-29T07:36:36.325Z",
  "app_memory": 83365888,
  "free_memory": 1177927680
}
cloud_resource:
{}
culture:
{
  "locale": "en-US",
  "timezone": "UTC"
}
device:
{
  "boot_time": "2025-11-26T19:10:59.006Z",
  "arch": "x64",
  "memory_size": 4005474304,
  "free_memory": 1177927680,
  "processor_count": 2,
  "cpu_description": "Intel Xeon Processor (Skylake, IBRS, no TSX)",
  "processor_frequency": 0
}
os:
{
  "kernel_version": "6.8.0-87-generic",
  "name": "Debian",
  "version": "12.12\n"
}
runtime:
{
  "name": "node",
  "version": "v22.21.1"
}
trace:
{
  "trace_id": "e35e1fc698d54ede8383f486f32bdbac",
  "span_id": "b71606374feaabc7"
}

Additional Data 2


request_method: POST
url: /api/posts/64a7b123c1d2e3f4567890ab/like

Dependencies 12


@sentry/node ^10.25.0
balanced-match 1.0.2
brace-expansion 2.0.2
debug 4.4.3
forwarded-parse 2.1.2
import-in-the-middle 1.15.0
minimatch 9.0.5
module-details-from-path 1.0.4
ms 2.1.3
require-in-the-middle 7.5.2
semver 7.7.3
shimmer 1.2.1

SDK 2


Name: sentry.javascript.node
Version: 10.25.0