Next.js Discord

Discord Forum

I'm calling third party wordpress api inside my next.js 14 app

Unanswered
Red-throated Loon posted this in #help-forum
Open in Discord
Red-throated LoonOP
I'm calling third party wordpress api inside my next.js 14 app and i follow parallel data fetching in next.js 14 app router but it's seems not call the server side api when i deployed it my vm (i'm using aws ec2 and manged by laravel forge gui)

but it's perfect works in local machine when run the npm run build then npm run start

4 Replies

Original message was deleted
Red-throated LoonOP
hello please help me 🙏
Sun bear
I would console log the response result and also check env.BLOG_API if it is working as a First step.
Also console log the error in try catch blog.

Most likely then you will know what to do