Skip to content

webhook_challenge crashes — uses Request class instead of request instance #6116

@themavik

Description

@themavik

api/routes/alerts.py:621 calls Request.query_params.get("token") on the Starlette Request class, not an instance. The function has no request parameter. query_params is an instance property, so calling .get() on the class raises AttributeError.

The Netdata webhook challenge endpoint fails on every request because of this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions