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.

/package_example/apidocs/ fails with INTERNAL SERVER ERROR /package_example/apispec_1.json

See original GitHub issue

Navigating 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:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:12 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
javabrettcommented, Jul 31, 2018

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).

0reactions
raquelfleeetcommented, Jul 28, 2022

I will do, thank you for clarifying.

Hi did u manage to solve this issue?

Read more comments on GitHub >

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

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