Description for error code 401, detail code 4957 is misleading in some cases
When using CNDiagnostic.echoCredentials() with an expired authentication token, the returned message is:
<?xml version="1.0" encoding="UTF-8"?>
No credentials were received in the request. (Session was null)
The description text in this case is misleading, because from the caller's point of view, credentials
were provided, albeit invalid. Is it possible to determine the validity of the credentials, i.e. expiration
status, and indicate that in the description?
BTW, this same token did work correctly before it expired.
A bash script is attached that recreates the error.