You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the current build I can get around this by passing the 'Authorization' header with create_zapi_head in credentials.py instead but this will stop working after the generated access token expires after 15 minutes.
The delete function seems to be suffering from the same issue but cannot be worked around with create_zapi_head.
I know I've gotten the delete function to work in the past so I must have bungled something.
The text was updated successfully, but these errors were encountered:
z0rg0n
changed the title
Listing yats returns 401 error
Listing yats returns 401 error and cannot delete
Mar 12, 2022
The API documentation from yat states that
GET /emoji_id
only requires apiKey authentication to perform the operation.I'm passing the apiKey required with
create_xapi_head
incredentials.py
yet it responds with:In the current build I can get around this by passing the 'Authorization' header with
create_zapi_head
incredentials.py
instead but this will stop working after the generated access token expires after 15 minutes.The
delete
function seems to be suffering from the same issue but cannot be worked around withcreate_zapi_head
.I know I've gotten the delete function to work in the past so I must have bungled something.
The text was updated successfully, but these errors were encountered: