Skip to content

Geotab API does not throw error when calling Authenticate with incorrect sessionId #24

Description

@Naragod
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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions