Build your first Pipedrive App give me an Error


I did follow this steps Build your first Pipedrive App 🚀

In the steps it is only written that you have to fill the client ID… into the .env file which I did. But when installing the app I get the following error from glitch console

InternalOAuthError: Failed to obtain access token

at OAuth2Strategy._createOAuthError (/rbd/pnpm-volume/039e7824-2bca-440e-9815-8ae0d2dcd1e3/node_modules/

at /rbd/pnpm-volume/039e7824-2bca-440e-9815-8ae0d2dcd1e3/node_modules/

at /rbd/pnpm-volume/039e7824-2bca-440e-9815-8ae0d2dcd1e3/node_modules/

at ClientRequest.<anonymous> (/rbd/pnpm-volume/039e7824-2bca-440e-9815-8ae0d2dcd1e3/node_modules/
at emitOne (events.js:116:13)
at ClientRequest.emit (events.js:211:7)
at TLSSocket.socketErrorListener (_http_client.js:401:9)
at emitOne (events.js:116:13)
at TLSSocket.emit (events.js:211:7)
at emitErrorNT (internal/streams/destroy.js:73:8)
at _combinedTickCallback (internal/process/next_tick.js:139:11)
at process._tickCallback (internal/process/next_tick.js:181:9)

Then I checked the readme of glitch where it says

Installation and usage for Glitch Apps

  • In the config.js file, fill in the clientID and clientSecret values. You will obtain that once you create an App via the Marketplace Manager.

Which I did. but also filled the callback URL. But still got the same error.

Can you please try to reproduce and check if it works on your side? maybe the how to is too old and needs the be renewed? maybe the issue is on my side but can’t tell.

Any idea?

Hi Sebastia,

I ran into the same problem and then found GitHub - pipedrive/FiftyFifty: Example app for Pipedrive Marketplace which works.

Hope that helps,


1 Like

Hi @zehairawan Thank you very much for your advice.

Best regards!

This topic was automatically closed after 60 days. New replies are no longer allowed.