Bug: json download of api specifaction returns internal server error with HTTP status code 200
See original GitHub issueThe preview documentation page currently does not work.
There is a problem with this http request: http://{ip}:8093/download?type=api&format=json&dereference=true&id=1
the response body is
<html><head><title>Error</title></head><body>Internal Server Error</body></html>
but the status code is 200 OK
This should be a 500.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:5 (3 by maintainers)
Top Results From Across the Web
200 OK - HTTP - MDN Web Docs
The HTTP 200 OK success status response code indicates that the request has succeeded. A 200 response is cacheable by default.
Read more >Returning http 200 OK with error within response body
HTTP status codes say something about the HTTP protocol. HTTP 200 means transmission is OK on the HTTP level (i.e request was technically...
Read more >Twitter API Response Codes & Error Support
Error responses are served with a non-200-series HTTP code. Different error codes indicate different reasons for an error. The Twitter API attempts to...
Read more >HTTP status and error codes for JSON | Cloud Storage
Error Response Format. Cloud Storage uses the standard HTTP error reporting format for the JSON API. Successful requests return HTTP status codes in...
Read more >Describing Responses - Swagger
An API specification needs to specify the responses for all API operations. ... A response is defined by its HTTP status code and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Seeing a similar issue - when downloading yaml file, it has the contents
<html><head><title>Error</title></head><body>Internal Server Error</body></html>Yaml download was working for a long time, suddenly stopped. Downloading in json continues to work.
Yes, the stack traces are here #1640 I really like the tool btw👍