Apify and Crawlee Official Forum

Updated last month

API not working

Hi,

when I use these URL https://api.apify.com/v2/actor-tasks/<TASK_ID>/runs?token=<YOUR_API_TOKEN> with the credentials from my apify dashboard I get the following error:
{
"error": {
"type": "page-not-found",
"message": "We have bad news: there is no API endpoint at this URL. Did you specify it correctly?"
}
}
I did everything like described in https://docs.apify.com/api/v2#section/Authentication

Can you help me and tell me what am I doing wrong? #apify-platform
P
1 comment
Hi @Dada the DuDu ,
What do you mean by credentials from Apify Dashboard?

You should put your Person API token or the Organization API Token into the ?token=xx parameter. You can it in the Settings -> API & Integrations.

Or you can go to the Task Runs overview and click on the API button in top right corner -> select API endpoints and scroll to the Get list of task runs and click the Test endpoint - to get the right URL.

Let me know if this work for you.
Add a reply
Sign up and join the conversation on Discord