Skip to content

Permission classes not properly unmarshalling path arguments #6570

@sentry

Description

@sentry

Sentry Issue: FLAGSMITH-API-5GA

ValueError: invalid literal for int() with base 10: 'undefined'
(6 additional frame(s) were not displayed)
...
  File "integrations/github/permissions.py", line 13, in has_permission
    return request.user.belongs_to(organisation_id=int(organisation_id))

Metadata

Metadata

Assignees

No one assigned

    Labels

    apiIssue related to the REST API

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions