Troubleshooting automatic commitment renewal Stay organized with collections Save and categorize content based on your preferences.
Troubleshootautomatic commitment renewalby using the following information.
Invalid values for auto-renew
The following error occurs when you try to create or update the auto-renewsetting for a commitment.
INVALID_FIELD_VALUE
This error occurs if you don't pass a value or you pass an invalid value forauto-renew.
To resolve this error, pass valid values for auto-renew. The following listshows 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 acommitment.
RESOURCE_NOT_READY_WITH_DETAILS
This error occurs if you try to update the auto-renew setting on a commitmentthat is in one of the following states: Creating, Expired, Cancelled.
To resolve this error, only update the auto-renew setting on a commitment whenit is in the Active state.
What's next
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-12-15 UTC.