40100: Unauthorized
unauthorizedA connection or request was rejected because it was not authorized.
What you should do
Read the accompanying message: 40100 is a general authorization failure, and the message states the specific action that was refused. Grant the credential the capability it needs, or perform the operation with credentials that have it.
Why it happens
An operation was refused because the credentials in use don't permit it. This covers a range of cases, from a request for a resource or property the key has no capability for, to an attempt to modify a field that can't be changed.
What you'll see
The error is reported with code 40100 and HTTP status 401. The message names the specific problem, for example Not authorized or Non-permitted property ....