UnauthorizedError #
Authentication failed.
Status Code #
401
Example #
const err = new context.errors.UnauthorizedError('error message');
Edit this page on Github(opens new window)
You are currently looking at the documentation of a previous version of Kuzzle. We strongly recommend that you use the latest version. You can also use the version selector in the top menu.
Authentication failed.
401
const err = new context.errors.UnauthorizedError('error message');