Skip to content

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

@Naragod

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions