Pipedrive API: Error 401 Invalid token too often

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

  • Manuel Oliveira
    Manuel Oliveira Admin Posts: 1,052 COMMUNITY MANAGER
    First Anniversary 5 Likes First Comment First Answer

    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.

  • Martin Krajčír
    Martin Krajčír Member Posts: 6
    5 Up Votes Name Dropper First Comment Photogenic

    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.

  • Leonardo Zimmermann
    Leonardo Zimmermann Pipedrive Team Posts: 89 PIPEDRIVE TEAM
    First Answer 5 Likes Name Dropper First Comment

    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.