When using the Web Portal API, users receive the error…
{
"result": null,
"error": {
"errorCode": "AUTHENTICATION_ERROR",
"message": "A valid token must be supplied. Call the login API first to obtain the token",
"details": ""
}
}
Symptoms:
This error occurs when invoking the Web Portal API from a browser: http://<Web Portal Host>:11680/MMDoc/ , even after an authentication call is made. The token returned from authentication API calls are not passed to subsequent requests.
Resolution
To resolve this problem, please provide your Web Portal credentials in the login field at the top of the api page:
For more information on the REST API, please reference http://metaintegration.com/Products/MIMM/REST-API/.