Troubleshoot automatic commitment renewal by using the following information.
Invalid values for auto-renew
The following error occurs when you try to create or update the auto-renew setting for a commitment.
INVALID_FIELD_VALUE
This error occurs if you don't pass a value or you pass an invalid value for auto-renew.
To resolve this error, pass valid values for auto-renew. The following list shows the valid values auto-renew:
- gcloud CLI:
--auto-renew
,--no-auto-renew
- Compute Engine API:
true
,false
Resource not available for auto-renew
The following error occurs when you try to update the auto-renew setting for a commitment.
RESOURCE_NOT_READY_WITH_DETAILS
This error occurs if you try to update the auto-renew setting on a commitment that is in one of the following states: Creating, Expired, Cancelled.
To resolve this error, only update the auto-renew setting on a commitment when it is in the Active state.