Skip to content

Failed to load API definition. #7478

Answered by candlerb
eudjinnl asked this question in Q&A
Oct 7, 2021 · 4 comments · 10 replies
Discussion options

You must be logged in to vote

Something went wrong in your upgrade, but without more details I can't tell what it is. There are two places you should look for error messages:

  1. At the backend: try journalctl -eu netbox
  2. Open your browser's developer console, then fetch the documentation again. You should be able to see the response code and/or the response body in the 'Network' or 'Console' tabs. I'm guessing it's a code 500 ('internal server error') but maybe the body has some more details.

The other thing you should do is to set ADMINS and EMAIL in configuration.py (and restart netbox). Then if an exception occurs server-side, you should get a full backtrace mailed to you. Paste it here and we should be able to help …

Replies: 4 comments 10 replies

Comment options

You must be logged in to vote
2 replies
@eudjinnl
Comment options

@candlerb
Comment options

Comment options

You must be logged in to vote
7 replies
@romanstech
Comment options

@candlerb
Comment options

@romanstech
Comment options

@candlerb
Comment options

@eudjinnl
Comment options

Answer selected by eudjinnl
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@eudjinnl
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants