question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bug: json download of api specifaction returns internal server error with HTTP status code 200

See original GitHub issue

The 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:open
  • Created 2 years ago
  • Reactions:1
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
xarntheherocommented, Jun 16, 2022

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.

1reaction
schelvcommented, Aug 27, 2021

Yes, the stack traces are here #1640 I really like the tool btw👍

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found