Pipedrive API: Error 401 Invalid token too often
![Martin Krajčír](https://usericons.pipedrive.com/profile_120x120_2563167_d8a02edbb6a30676bb46c1dd7289e67c.jpg)
![Second Anniversary](https://us.v-cdn.net/6037014/uploads/badges/HH5E46DJ4W22.png)
![5 Up Votes](https://us.v-cdn.net/6037014/uploads/badges/T5KOU269BZVN.png)
![Name Dropper](https://us.v-cdn.net/6037014/uploads/badges/KUKSS67XBZ6D.png)
![First Comment](https://us.v-cdn.net/6037014/uploads/badges/DF5XRP8OLBHB.png)
I try to integrate Pipedrive with Zapier to run my own Automation.
I use following API https://api.pipedrive.com/v1/filters unfortunately I got many times response:
success: false
error: Invalid token: access token is invalid
errorCode: 401
error_info: Please check developers.pipedrive.com
But sometimes I got OK response and everything works fine. Why sometimes Pipedrive API not working?
Answers
-
Hi @Martin Krajčír , there could be a few reasons for that, such as the API request being outside the scope your app asked permission for. For more details on that, please have a look in the documentation here from our developers' corner.
0 -
Hi @Manuel Oliveira I absolutely have no idea what I have to do 🙄
I have authenticated Zapier on Pipedrive side.
I have authenticated Pipedrive on Zapier side.
Test works fine and sometimes also the whole integration works fine, but sometimes it fail on error: access token is invalid.
0 -
Hey, @Martin Krajčír!
There are a few different possibilities here. You could, for example, be running a filter through that endpoint for which your user's key do not have access - but this is just a conjecture.
Bottom line in this case is that this situation needs further investigation, since the information we have so far is not enough for us to reach a conclusion. For that reason, I kindly ask you to please reach out to our support so that this can be tackled further.
Thank you.
0 -
Hi @tenzinc have you checked that the token belongs to an active user, that a more recent token hasn’t since been generated, and that the user has the necessary permissions for the request?
If you’ve checked these steps and the 401 error code persists, please contact our friendly neighborhood support team, and they’ll assist you further.0