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.
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.