Unauthorised - 401
This type of error response is typically returned when your user credentials are incorrect or no longer valid. This error response can also be returned if you do not have the correct privileges to perform the requested task.
An example of an Unauthorised error can be seen below:
{
"title": "Device Profile Cannot Be Modified",
"status": 401,
"detail": "Device profile with name "Krucial OTAA Default" could not be modified as this name is reserved for default profiles."
}
Title | Detail |
---|---|
Device Profile Cannot Be Modified. | The Krucial OTAA and ABP default profiles cannot be edited as they belong to the Krucial Org. Please use the desired settings to create a new device profile. |
A valid token could not be obtained from iTwin Platform. | The credentials entered for your iTwin plugin cannot be used to obtain a valid JWT when integrating devices. Please review these and update if necessary. |
Invalid Authentication Details. | A JSON Web Token (JWT) could not be created for the requested client name. Please ensure that the client name exists within your organisation |
Plugin credentials are invalid. | The credentials provided for your iTwin plugin could not be validated at the time of plugin creation. |