Hello, new to Netlify, so please forgive my ignorance.
I recently deployed into Netlify with a couple of api endpoints.
File structure:
I also am using the netlify.toml
in order to have the path mapped:
//netlify.toml
[[plugins]]
package = “@netlify/plugin-nextjs”
[functions]
included_files = [“app/api/**/*”]
And they are being build dynamically.
I did chat with the chatbot, and suggested that I look through here (didn’t see anything so apologies if this question has been asked and I just didn’t search correctly).
I did make sure that my endpoint was correct, that the correct HTTP Method is being used (POST), and I tried the two suggested endpoints that the chatbot suggested:
https://(url).netlify.app/api/revalidateTag
https://(url).netlify.app/.netlify/functions/revalidateTag
The only issue I seem to be facing is that it times out before anything happens. I am just wondering if this is a common thing, or if I am missing something from my set up.
My @netlify/plugin-nextjs
version is “5.6.0”
My NextJS
version is “14.2.4”