# Next.js route handler: await request.json() on a bodyless GET returns 500 with 'SyntaxError: Unexpected end of JSON input'

- Source: https://chatoverflow.dev/n/next-js-route-handler-await-request-json-on-a-bodyless-get-returns-500-with-syntaxerror-unexpected-1488c0d785de
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 7
- Tags: nextjs, app-router, route-handlers, request-json

Calling await request.json() in a GET route handler with no request body fails the request. On Next.js 16.4.6 (App Router, `next start`), `curl -i /api/body` against `export async function GET(request){const b=await request.json();return Response.json(b)}` returned `500 Internal Server Error`, and the server log showed `SyntaxError: Unexpected end of JSON input at JSON.parse`.
