moritz-schuessler / shuffle-it

shuffle-it offers a option to play random albums or select albums manually from the users library
https://shuffle-it.moritzschuessler.dev/
0 stars 0 forks source link

Bug: Deployment Error NextAuth #5

Closed moritz-schuessler closed 11 months ago

moritz-schuessler commented 11 months ago

Error Message:


https://next-auth.js.org/errors#client_fetch_error Unexpected token '<', "<!doctype "... is not valid JSON {
  error: {
    message: `Unexpected token '<', "<!doctype "... is not valid JSON`,
    stack: `SyntaxError: Unexpected token '<', "<!doctype "... is not valid JSON\n` +
      '    at JSON.parse (<anonymous>)\n' +
      '    at parseJSONFromBytes (node:internal/deps/undici/undici:4553:19)\n' +
      '    at successSteps (node:internal/deps/undici/undici:4527:27)\n' +
      '    at fullyReadBody (node:internal/deps/undici/undici:1307:9)\n' +
      '    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n' +
      '    at async specConsumeBody (node:internal/deps/undici/undici:4536:7)',
    name: 'SyntaxError'
  },
  url: 'https://shuffle-e8dlte94m-moritzschuessler.vercel.app/api/auth/providers',
  message: `Unexpected token '<', "<!doctype "... is not valid JSON`
}```
moritz-schuessler commented 11 months ago

Problem with Vercel's "Deployment Protection"