Buckets:
| title: '`NextResponse.next()` used in a Route Handler in the App Router' | |
| ## Why This Error Occurred | |
| Route Handlers in the Next.js App Router do not support using the `NextResponse.next()` method to forward to the next Proxy. | |
| The Route Handler is considered the end of the proxy "chain". Handlers must always return a `Response` object instead. | |
| ## Possible Ways to Fix It | |
| Remove the `NextResponse.next()` and replace it with a correct response handler. | |
| ## Useful Links | |
| - [Route Handlers](/docs/app/api-reference/file-conventions/route) | |
| - [`NextResponse`](/docs/app/api-reference/functions/next-response) | |
Xet Storage Details
- Size:
- 618 Bytes
- Xet hash:
- ada46c1f6adf0da2c72734d2661af1e556a7b5bd863a66d8df7e8e85164d072b
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.