/package_example/apidocs/ fails with INTERNAL SERVER ERROR /package_example/apispec_1.json
See original GitHub issueNavigating to http://flasgger.pythonanywhere.com/package_example/apidocs/ (as linked from index page) produces:
Failed to load API definition.
Fetch error
INTERNAL SERVER ERROR /package_example/apispec_1.json
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:12 (3 by maintainers)
Top Results From Across the Web
Invalid JSON causes internal server error · Issue #1576 - GitHub
I am trying to use the RESTful API to be able to built on the posthog-js-lite -package by adding the decide -endpoint only...
Read more >Solved: .model.json throwing internal server error
Can someone advice why I am getting this below error while calling .mode.json of a component. Could not get exporter jackson requested by...
Read more >How to handle 500 Internal Server Error when using JSON
A "500 Internal Server" error means the server had a problem responding to your request. You are not getting a JSON string response....
Read more >XML to JSON policy failing when there is a 500 internal error
I am using XML to JSON policy in the proxy endpoints post flow.This is working fine, If the response from the back end...
Read more >Internal Server Error (500) while sending json data to Anypoint ...
Hi All ,. I am getting the below error while sending Json array with special characters like "$" ,<pr>dfghfjf</pr> : Error Message: Failed...
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 Free
Top 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
This issue is caused by the flasgger.pythonanywhere.com deployment not having the
marshmallow
package installed (at all), because it is only in requirements-dev.txt and not in setup.py (or requirements.txt).I propose adding an optional extras to setup.py if adding marshmallow will be a common-enough additional module, otherwise just update the deployment on pythonanywhere to pre-install that module. Then to fully resolve, the pythonanywhere deployment scripts will need an update (I don’t think those are currently in the project).
Hi did u manage to solve this issue?