Route segments
Unanswered
Marban posted this in #help-forum
MarbanOP
I started to get this error when deploy recently
And it is talking about this
But in the documentation, there is no such thing about body parser. How to fix this
Error: Page config in /vercel/path0/app/api/transcribe/route.ts is deprecated. Replace `export const config=…` with the following:
Visit https://nextjs.org/docs/app/api-reference/file-conventions/route-segment-config for more information.And it is talking about this
export const config = {
api: {
bodyParser: false,
},
}But in the documentation, there is no such thing about body parser. How to fix this
2 Replies
MarbanOP
it used to work fine until recently.
https://nextjs.org/docs/messages/api-routes-response-size-limit
according to this error message docs, they suggest this way but vercel says not to use it
according to this error message docs, they suggest this way but vercel says not to use it