Zyte API 401 error

Posted over 1 year ago by David Christ

Post a topic
Un Answered
D
David Christ

I am on the free trial for the Zyte API. I am trying to use it with scrapy_zyte_api, however I get the error: [scrapy_zyte_api.handler] ERROR: Got Zyte API error (status=401, type='/auth/key-not-found') while processing URL ([URL]): The authentication key is not valid or can't be matched.


I know my key is being used because I see the message Using a Zyte API key starting with '[start of my API key]'

0 Votes


4 Comments

Sorted by
f

flying together posted 9 months ago

0 Votes

W

William Harter posted about 1 year ago

Found it.  Just make sure you are getting the api key from here.

https://app.zyte.com/o/<your user id>/zyte-api/api-access


If you go through settings/profile/key you are getting wrong key.  Go to the Zyte API section and there is an item for "API access". The API key is there.

0 Votes

W

William Harter posted about 1 year ago

I'm facing the same issue. I have an account and have given it the API key that is listed on the dashboard. What did you mean by "I had to create a new account to get it to work".


0 Votes

D

David Christ posted over 1 year ago

I didn't realize I needed a Zyte API specific API key, as my dashboard was not showing the zyte api section even though I was subscribed. I had to create a new account to get it to work.

0 Votes

Login to post a comment