API Key

Hello

I bought a Wordpress template via Themeforest. Have created a legacy API key to make it auto-update.
Entered the correct key in Wordpress, then tested the API connection. It doesn’t seem to work, I get the following error:

=====

The OAuth Personal Token could not be verified. Please check that the Token has been entered correctly and has the minimum required permissions.

Additional Error Details:
Failed to query total number of items in API response.
Forbidden
{“request_url”:“https://api.envato.com/v1/market/total-items.json",“response_code”:403,“response_cf_ray”:“530842dfe8b5e600-LHR”,“response_server”:"cloudflare”}

====

Any help how to fix this would be appreciated.

There seems to be no place where permissions for a legacy key can be set. The only thing I can enter is a label for the key. Description says:

Legacy API Keys

The legacy API keys on this page should only be used for FTP authentication. Do not use them with the Envato API.

They are called API keys because in the past they were used to authenticate with our API. Since then we have switched to a different API system that uses API tokens instead. You can learn more about it in our API documentation page.

And when I click on the link API Tokens I get a scrambled page which is not usuable, content over menu in Firefox latest…

Envato API personal token:
You can generate Envato API personal token here . Please make sure you set required Token permissions. It may prompt you to sign into your Envato account

How to get an API Key

Response codes

  • 403 means the personal token is incorrect or does not have the required permission(s).

Before you create a new token at least the following permission should be selected from the list of permission available on the Token page.

  1. View and search Envato sites (checked by default)
  2. Download the user’s purchased items
  3. List purchases the user has made

Hope this will help you.

Thanks

1 Like

2 posts were split to a new topic: API Key issue