Routes in app/api is not working #61362
-
|
As the title states, the routes inside the |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
|
Could you share your file structure? |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for replying Joseph. Here's my project structure. So basically routes in the I've updated all NextJS related frameworks to the latest one. |
Beta Was this translation helpful? Give feedback.
-
|
Dang it, I have figured out the cause. There's a space at the end of the api folder name. Wasted me 2 days. |
Beta Was this translation helpful? Give feedback.
-
|
I am facing same issue but I have checked there are no spaces at the end or at the start of the directory name. |
Beta Was this translation helpful? Give feedback.

Dang it, I have figured out the cause. There's a space at the end of the api folder name. Wasted me 2 days.