You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import GeotabAPI = require("mg-api-js");
const api = new GeotabAPI(authentication, options);
// this call does not throw an error if the sessionId used is expired, or incorrect
api.authenticate()
When authenticating using the geotab client, we are running into errors during the execution of individual calls, rather than during the original authentication process.
Having it fail when calling authenticate would allows to fail first and early if the sessionId is incorrect.
The text was updated successfully, but these errors were encountered:
When authenticating using the geotab client, we are running into errors during the execution of individual calls, rather than during the original authentication process.
Having it fail when calling
authenticate
would allows to fail first and early if thesessionId
is incorrect.The text was updated successfully, but these errors were encountered: