Skip to content

migration new version - 401 Unauthorized error #290

@Cohenda26Hitecy

Description

@Cohenda26Hitecy

Hello, I just migrated to the latest version.

I'm encountering a problem that I believe is related to the change in API key management.

Until now, I was working with a connection using setApiKey('api_token', my_key_token).

But in the new version, it's: setApiKey('x-api-token', my_key_token).

I'm getting "401 Unauthorized" errors.

Why?

I tried using setApiKeyPrefix, but the problem persists.

This is urgent.
Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions