Next.js Discord

Discord Forum

Couldn't deploy due to url parsing failed error

Mugger Crocodile posted this in #help-forum
Open in Discord
Mugger CrocodileOP
I tried to deploy my nextjs 13 app to the vercel. 1. My API call to RAPID API related resource doesnt work and throwing me an error saying couldn't reference error, location is not defined.
2. i'm also unable to call the local api route that comes with nextjs 13. in the api directory of app directory, I call my database to fetch documents. how do i write the fetch request url for that directory? #help-forum #discussions

0 Replies