Project

General

Profile

Actions

Task #6995

open

Error message doesn't provide cause of error

Added by Peter Slaughter about 8 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
03/23/2016
Due date:
% Done:

0%

Estimated time:

Description

Several services that require authentication return error descriptions that don't indicate the cause of the error, for example for
MNStorage.generateIdentifier(), if the token is expired or corrupted, etc:

<error detailCode="2190" errorCode="401" name="InvalidToken">
<description>Session is required to generate an Identifier at this Node.</description>
</error>

The description shown in the D1 API docs does provide enough info for the user to troubleshoot the problem:

"The supplied authentication token is not a proper certificate, or missing required fields, or otherwise proves invalid."

It would be helpful if this description is used instead of the "Seesion is required" message.

Other services return similar "Session..." messages, such as MNStorage.create(), MNStorage.update()

No data to display

Actions

Also available in: Atom PDF