Hello,
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/.registry.npmjs.org/passport-oauth2/1.6.1/node_modules/passport-oauth2/lib/strategy.js:423:17)
at /rbd/pnpm-volume/039e7824-2bca-440e-9815-8ae0d2dcd1e3/node_modules/.registry.npmjs.org/passport-oauth2/1.6.1/node_modules/passport-oauth2/lib/strategy.js:177:45
at /rbd/pnpm-volume/039e7824-2bca-440e-9815-8ae0d2dcd1e3/node_modules/.registry.npmjs.org/oauth/0.9.15/node_modules/oauth/lib/oauth2.js:191:18
at ClientRequest.<anonymous> (/rbd/pnpm-volume/039e7824-2bca-440e-9815-8ae0d2dcd1e3/node_modules/.registry.npmjs.org/oauth/0.9.15/node_modules/oauth/lib/oauth2.js:162:5)
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 theclientID
andclientSecret
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?