Skip to content
This repository has been archived by the owner on Feb 4, 2022. It is now read-only.

"Invalid model - model not available" on /api/notifications/ #713

Open
frankvolkel opened this issue May 18, 2020 · 1 comment
Open

"Invalid model - model not available" on /api/notifications/ #713

frankvolkel opened this issue May 18, 2020 · 1 comment

Comments

@frankvolkel
Copy link

I'm running okuna-api 0.0.67 and okuna-app 0.0.66.

Calls to /api/notifications with certain types results in a ["Invalid model - model not available."] response:

okuna-api    | 2020-05-18 11:08:29,587 django.request WARNING  Bad Request: /api/notifications/
okuna-api    | 2020-05-18 11:08:29,588 django.server WARNING  "GET /api/notifications/?types=PR,PCRA,PC,PCR,PUM,PCUM,CC,F,CNP,UNP& HTTP/1.1" 400 40

Calls with less types return fine:

okuna-api    | 2020-05-18 10:53:13,301 django.server INFO     "GET /api/notifications/?types=CR,CI& HTTP/1.1" 200 2
@lifenautjoe
Copy link
Member

Hi Frank, have you ran the newer migrations?

python manage.py migrate

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants