Troubleshooting automatic commitment renewal

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.

What's next

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月24日 UTC.