Skip to content

Timestamp too old error #5

@tonyadji

Description

@tonyadji

Hi,
I 'm getting this error while calling the ping method from your HealthCheckApi.
error {"devMsg":"Timestamp is too old","usrMsg":"Authentication error when connecting to service","respCode":4008,"link":"http:\/\/support.maviance.com\/"}

Below is how my code looks like

public void ping (String version) {
        ApiClient apiClient = new ApiClient(basePath,
                accessToken,
                accessSecret);
        HealthcheckApi checksApi = new HealthcheckApi(apiClient);
        try {
            Ping ping = checksApi.pingGet(version);
            log.info("ping : {}", ping);
        } catch (ApiException e) {
            log.error("An error occurred: \n");
            log.error("error {}",e.getResponseBody());
        }
    }

PS : i'm using the version 1.1.0

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