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.