Next.js Discord

Discord Forum

I would like to get help on how to fix the following error in a project I uploaded to Vercel:

Unanswered
Somali posted this in #help-forum
Open in Discord
Avatar
SomaliOP
Locally it works fine without any errors like the image. I don't know what is causing it.
Image

13 Replies

Avatar
SomaliOP
If anyone has encountered this error, please help me.
Avatar
Dwarf Hotot
is api response a valid json it seems like just not a valid json
Avatar
pleas share the code of the api as well
Avatar
SomaliOP
Thank you. I will share my code
Avatar
SomaliOP
It's working fine in the dev environment, is this an API error?
Avatar
Avatar
SomaliOP
It's been working fine so far. I haven't changed any APIs, but I'm getting a strange error.
How about you?
Avatar
@Somali we can't look into your code and we also can't read your code somehow magically. If you want answers from us, share more details.
Avatar
SomaliOP
Got it. I will share the code.
Avatar
Dwarf Hotot
no code ig ¯\_(ツ)_/¯
Avatar
yea, if OP don't want to share code it's fine, but then he won't receive an answer as well
Avatar
SomaliOP
Sorry. i have to discuss with my team.