Next.js Discord

Discord Forum

https://next-auth.js.org/errors#client_fetch_error Unexpected token < in JSON at position 0

Unanswered
West African Lion posted this in #help-forum
Open in Discord
West African LionOP
https://next-auth.js.org/errors#client_fetch_error Unexpected token < in JSON at position 0 {
  error: {
    message: 'Unexpected token < in JSON at position 0',
    stack: 'SyntaxError: Unexpected token < in JSON at position 0\n' +
      '    at JSON.parse (<anonymous>)\n' +
      '    at parseJSONFromBytes (node:internal/deps/undici/undici:6662:19)\n' +
      '    at successSteps (node:internal/deps/undici/undici:6636:27)\n' +
      '    at node:internal/deps/undici/undici:1236:60\n' +
      '    at node:internal/process/task_queues:140:7\n' +
      '    at AsyncResource.runInAsyncScope (node:async_hooks:203:9)\n' +
      '    at AsyncResource.runMicrotask (node:internal/process/task_queues:137:8)\n' +
      '    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)',
    name: 'SyntaxError'
  },
  url: 'https://xxxx/api/auth/session',
  message: 'Unexpected token < in JSON at position 0'
}

It is normally working (working on profile and dashboard.) But when i try to access database page, i get this error.

2 Replies

West African LionOP
any helps?
Getting the same issue, did you fix or does anyone have any ideas?