Debug a network request failure
Diagnose a failing HTTP request by checking auth, headers, body format, content-type, and CORS. Returns the corrected request with an explanation of each fix.
Preview
Copy prompt
This HTTP request is failing unexpectedly: [Paste the request code and the full error or response]. The API documentation states: [Paste relevant docs]. Diagnose the failure by checking for authentication header issues, incorrect request headers, a malformed or wrong content-type body, and CORS policy violations. Show the fully corrected request and provide a clear explanation for every change made.
More
Debugging
Prompts
