Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FieldError: Invalid field name(s) for model GenericDocument: 'principal'. #2287

Open
sentry-io bot opened this issue Feb 13, 2025 · 0 comments · May be fixed by #2324
Open

FieldError: Invalid field name(s) for model GenericDocument: 'principal'. #2287

sentry-io bot opened this issue Feb 13, 2025 · 0 comments · May be fixed by #2324
Assignees
Labels
bug Something isn't working
Milestone

Comments

@sentry-io
Copy link

sentry-io bot commented Feb 13, 2025

Sentry Issue: LII-2RH

GenericDocument.DoesNotExist: GenericDocument matching query does not exist.
  File "django/db/models/query.py", line 916, in get_or_create
    return self.get(**kwargs), False
  File "django/db/models/query.py", line 637, in get
    raise self.model.DoesNotExist(

FieldError: Invalid field name(s) for model GenericDocument: 'principal'.
(3 additional frame(s) were not displayed)
...
  File "peachjam/tasks.py", line 72, in update_document
    ingestor.update_document(document_id)
  File "peachjam/models/ingestors.py", line 80, in update_document
    adapter.update_document(document_id)
  File "peachjam/adapters/indigo.py", line 353, in update_document
    created_doc, new = model.objects.update_or_create(
@sentry-io sentry-io bot added the bug Something isn't working label Feb 13, 2025
@niiroobiro niiroobiro added this to the 2025-Q1 milestone Feb 18, 2025
@longhotsummer longhotsummer self-assigned this Feb 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants