Errors
With basic authentication, if you fail to provide valid authentication credentials the
expected error will be 401 Unauthorized
, as shown below.
With token authentication, when an invalid or expired token is used, the expected error
will be 401 Unauthorized
. The body of the response will include a
description of the problem, as shown below for the case of an expired token:
If you ask for a data source that does not exist you will receive a proper message in the
error
field.