apicurio-studio
apicurio-studio copied to clipboard
Bug: json download of api specifaction returns internal server error with HTTP status code 200
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.
Fair enough - errors should definitely be handled better in that flow. Do you have any clues (e.g. on the server console) about what went wrong? Any stack traces or other info?
Yes, the stack traces are here #1640 I really like the tool btw👍
Perfect, thanks for the stack trace.
Seeing a similar issue - when downloading yaml file, it has the contents
Yaml download was working for a long time, suddenly stopped. Downloading in json continues to work.
@xarnthehero the problem with downloading YAML is documented here:
https://github.com/Apicurio/apicurio-studio/issues/1925#issuecomment-1179185749
It will be fixed in the next release.