You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Logs: #11 25.52 error: API request failed #11 25.52 caused by: sentry reported an error: Invalid token (http status: 401) #11 25.52 #11 25.52 Add --log-level=[info|debug] or export SENTRY_LOG_LEVEL=[info|debug] to see more output. #11 25.52 Please attach the full debug log to all bug reports.
Silent: false doesn't give me any additional info in the logs.
I used npx @sentry/wizard@latest -i nextjs
Then I tried to use npx @sentry/wizard@latest -i sourcemaps. And it gave me instruction like that:
Test and validate your setup locally with the following Steps:
Build your application in production mode.
→ For example, run yarn build.
→ You should see source map upload logs in your console.
Open the error in Sentry and verify that it's source-mapped.
→ The stack trace should show your original source cod
But I still get an error message after yarn build with the same text as I mentioned above.
Also each time when I run npx @sentry/wizard@latest -i nextjs I get the same token, so I believe it's right one.
So the question is why I get this error message if I have the correct token, org, project and url, and which way can I cope with it and get source maps?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi!
I have an issue with getting source maps for my Next.js 14.0.2 app.
next.config.js
Logs:
#11 25.52 error: API request failed #11 25.52 caused by: sentry reported an error: Invalid token (http status: 401) #11 25.52 #11 25.52 Add --log-level=[info|debug] or export SENTRY_LOG_LEVEL=[info|debug] to see more output. #11 25.52 Please attach the full debug log to all bug reports.
Silent: false
doesn't give me any additional info in the logs.I used
npx @sentry/wizard@latest -i nextjs
Then I tried to use
npx @sentry/wizard@latest -i sourcemaps
. And it gave me instruction like that:→ For example, run yarn build.
→ You should see source map upload logs in your console.
→ The error should appear in Sentry:
→ https://sentry.sentry.hiredeveloper.io/issues/?project=18
→ The stack trace should show your original source cod
But I still get an error message after yarn build with the same text as I mentioned above.
Also each time when I run
npx @sentry/wizard@latest -i nextjs
I get the same token, so I believe it's right one.So the question is why I get this error message if I have the correct token, org, project and url, and which way can I cope with it and get source maps?
Beta Was this translation helpful? Give feedback.
All reactions