Giter Club home page Giter Club logo

getting-started-node-sdk's People

Contributors

dependabot[bot] avatar ericmand avatar gurpreetatwal avatar karthikbhaskara avatar mdheri avatar naomiperez avatar nkamidi avatar s-ashwinkumar avatar sankethkatta avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

getting-started-node-sdk's Issues

invalid_grant error on /exchange request

The server throws the following upon making the request to the /exchange API endpoint:

Listening on port 8000
node:internal/process/promises:246
          triggerUncaughtException(err, true /* fromPromise */);
          ^

SmartcarError: invalid_grant:undefined - Unauthorized redirect_uri: http://localhost:8000/exchange
    at util.handleError (/Users/ananyasharma/dev/vroom/vroom/node_modules/smartcar/lib/util.js:105:11)
    at tryCatcher (/Users/ananyasharma/dev/vroom/vroom/node_modules/bluebird/js/release/util.js:16:23)
    at /Users/ananyasharma/dev/vroom/vroom/node_modules/bluebird/js/release/catch_filter.js:17:41
    at tryCatcher (/Users/ananyasharma/dev/vroom/vroom/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/Users/ananyasharma/dev/vroom/vroom/node_modules/bluebird/js/release/promise.js:547:31)
    at Promise._settlePromise (/Users/ananyasharma/dev/vroom/vroom/node_modules/bluebird/js/release/promise.js:604:18)
    at Promise._settlePromise0 (/Users/ananyasharma/dev/vroom/vroom/node_modules/bluebird/js/release/promise.js:649:10)
    at Promise._settlePromises (/Users/ananyasharma/dev/vroom/vroom/node_modules/bluebird/js/release/promise.js:725:18)
    at _drainQueueStep (/Users/ananyasharma/dev/vroom/vroom/node_modules/bluebird/js/release/async.js:93:12)
    at _drainQueue (/Users/ananyasharma/dev/vroom/vroom/node_modules/bluebird/js/release/async.js:86:9)
    at Async._drainQueues (/Users/ananyasharma/dev/vroom/vroom/node_modules/bluebird/js/release/async.js:102:5)
    at Immediate.Async.drainQueues [as _onImmediate] (/Users/ananyasharma/dev/vroom/vroom/node_modules/bluebird/js/release/async.js:15:14)
    at processImmediate (node:internal/timers:464:21) {
  statusCode: 400,
  requestId: '36e8f1ab-9211-4db9-a743-180fcffd253c',
  type: 'invalid_grant',
  description: 'Unauthorized redirect_uri: http://localhost:8000/exchange'
}

Note that I did verify that the redirect uri, secret and clientID are correct.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.