Handle the Response
Upon successfully accepting the permissions, Smartcar will redirect the user back to your application using the specified REDIRECT_URI
, along with an authorization code as a query parameter. In the case of on error, we’ll provide an error and description as parameters instead.
Success
An authorization code used to obtain your initial ACCESS_TOKEN
. The auth code
expires after 10 minutes.
If the redirect to Smartcar Connect contains a state parameter, that parameter will be returned here.
Error
For a detailed description of these errors, please see our errors page.
The type of error
A detailed description of what caused the error
If the redirect to Smartcar Connect contains a state parameter, that parameter will be returned here.
In addition to the error code and description, Smartcar will return the following parameters when a user tries to authorize an incompatible vehicle in Connect.
Can be returned for errors where the vehicle is incompatible.
The manufacturer of the vehicle.
The model of the vehicle.
The year of production of the vehicle.
Was this page helpful?