Error adding Envato API Personal Token 401

Hi! I just installed my new theme on the website and I cannot verify my Envato token. Here is the 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.
Unauthorized
{“request_url”:“https://api.envato.com/v1/market/total-items.json”,“response_code”:401,“response_cf_ray”:“846daebc88b43a82-FRA”,“response_server”:“cloudflare”}

Could you help me with that?
Thank you very much in advance!

Best
Beatrice

This particular error code (unauthorized - 401) generally means that you either have not entered a personal token, or it was in the wrong format.

Try entering your personal token again. Make sure to click the “save changes” button before you click the test button.

For your reference, a personal token will look like this:

3M8VygMEUsGT3DTxqMbesP5JPzlfZqCs
1 Like

Thank you so much for your reply.


I use this code that I blended out and it’s not working.

I had to give access to ftp for every plugin I installed. Maybe that helps to resolve this problem.
Thanks!

1 Like

Ah, that’s a purchase code, which is sometimes used to activate products.

You need to create a personal token for the Envato Market plugin. It uses a very different format from the purchase code you shared. Make sure to follow the instructions on the plugin:

Once you create a token, it will look like the format I shared above – a continuous string of letters and numbers, with no hyphens. Paste that into the textbox shown in the screenshot, and click save.

2 Likes

Thank you so much!
Problem solved :slight_smile:

2 Likes