The HTTP method (GET, POST, PUT, DELETE) is not supported for this endpoint.
// Next.js API route
export async function OPTIONS() {
return new Response(null, {
headers: {
'Allow': 'GET, POST, OPTIONS',
},
});
}Handle OPTIONS requests for CORS preflight.
ObserveOne validates API method support and detects misconfigured endpoints.
Start Monitoring FreeThe server cannot process the request due to malformed syntax, invalid parameters, or bad encoding.
The request requires authentication. The client must provide valid credentials.
The server understood the request but refuses to authorize it. Authentication won't help — the user lacks permissions.
The server cannot find the requested resource. The URL may be wrong, the resource may have been deleted, or the route doesn't exist.
The resource existed but has been permanently removed. Unlike 404, this explicitly tells clients the resource won't come back.