Unable to get grant's application redirect URI list

Anyone know what this is about? this is after trying to exchange token with this url

h_ttps://api.eu.nylas.com/v3/connect/token

JSON.stringify({
          code: code,
          client_id: "client id"
          client_secret: process.env.NYLAS_API_KEY,
          redirect_uri: "http://localhost:3000/dashboard",
          grant_type: "authorization_code",
          code_verifier: "nylas",
        })

this is the body

While I’m here, I’d like to ask what I should put for redirect_uri. Is it the same as the one I put when I’m authenticating? Or is it the URI for when the grant has been created (which url I want to redirect the user to once their auth process is finished?)

Hello @owensully have your read our Quickstart guide? Email API Quickstart: read and send email messages | Nylas Docs it has samples on all of our SDKs.

And yes, you should use the same URL you used for authentication.