Not possible to change resource status
Modified on: Fri, 17 Nov 2023 12:07 PMOriginal Publishing Date:
2020-01-22
2020-01-22
Symptoms
I want to change status of resource but an error is returned:
"message": "Specified resource status `aps:REQUESTED_STATUS` is not ready or proto."
Cause
aps
namespace is reserved for system usage, application itself can use custom statuses or return resource back to aps:ready
.
Usage of other system statuses as target is prohibited.
Details are available on the Resource Statuses page in documentation.
Resolution
Use custom statuses (not in aps
namespace) or add a custom field to your resource to keep track of additional statuses.