Skip to content

Error: authentication error: request library compatibility issue #202

@8ByteCore8

Description

@8ByteCore8

Scenario & Reproduction Steps

The error occurs during the client authentication process. We are using a Service Account token for authorization.

Code snippet:

client = await Client.authenticate(
    auth="SERVICE_ACCOUNT_TOKEN",
    integration_name="XXX",
    integration_version="v1.0.0",
)

Actual Behavior

The authentication fails with a compatibility error related to the underlying request library.

Full Error Message:

Error: authentication error: request library compatibility issue, check that your environment uses compatible versions: reqwest library: error sending request for url <url>

Expected Behavior

The client should authenticate successfully and return a session instance, as it was functioning correctly until recently.

SDK version

0.3.2

Additional information

Python Version: 3.11

Timeline: The system was working perfectly until approximately 2 hour ago.

Context: No changes were made to the codebase or environment variables prior to the onset of this error. It appears to be a sudden regression or a network-level compatibility issue with the reqwest backend.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions