rmrtnv
(Rmrtnv)
July 10, 2025, 12:02pm
1
when doing " npx shadcn@latest add “https://v0.dev/chat/b/b_0WHf7r …” im getting the error
Something went wrong. Please check the error below for more details.
If the problem persists, please open an issue on GitHub.
Unexpected token '<', "<!DOCTYPE "... is not valid JSON
seems there’s an issue with the v0 endpoint?
same problem:
npx shadcn@latest add “https://v0.dev/chat/b/b_od0gFMX0vRw ”
leads to>>>
Something went wrong. Please check the error below for more details.
If the problem persists, please open an issue on GitHub.
Unexpected token ‘<’, "<!DOCTYPE "… is not valid JSON
When you copy the command, it should include a ?token=asdf
param that logs you in
Without that token, the URL resolves to a 4XX error page and the error you’re getting is it trying to parse that HTML instead of the JSON it’s expecting
1 Like
rmrtnv
(Rmrtnv)
July 14, 2025, 8:00am
4
now it’s work, seems like sometimes URI not present in copied url (via interface button - in top right corner)