[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-19。"],[[["\u003cp\u003e\u003ccode\u003eINVALID_FIELD_VALUE\u003c/code\u003e error occurs when creating or updating auto-renew settings with no value or an invalid value.\u003c/p\u003e\n"],["\u003cp\u003eTo resolve \u003ccode\u003eINVALID_FIELD_VALUE\u003c/code\u003e, provide valid values: \u003ccode\u003e--auto-renew\u003c/code\u003e or \u003ccode\u003e--no-auto-renew\u003c/code\u003e in gcloud CLI, or \u003ccode\u003etrue\u003c/code\u003e or \u003ccode\u003efalse\u003c/code\u003e in Compute Engine API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eRESOURCE_NOT_READY_WITH_DETAILS\u003c/code\u003e error occurs when updating auto-renew settings on a commitment in Creating, Expired, or Cancelled states.\u003c/p\u003e\n"],["\u003cp\u003eTo resolve \u003ccode\u003eRESOURCE_NOT_READY_WITH_DETAILS\u003c/code\u003e, ensure the commitment is in the Active state before updating auto-renew.\u003c/p\u003e\n"]]],[],null,["*** ** * ** ***\n\nTroubleshoot [automatic commitment renewal](/compute/docs/instances/renew-commitments-automatically)\nby using the following information.\n\nInvalid values for auto-renew\n\nThe following error occurs when you try to create or update the auto-renew\nsetting for a commitment. \n\n```\nINVALID_FIELD_VALUE\n```\n\nThis error occurs if you don't pass a value or you pass an invalid value for\nauto-renew.\n\nTo resolve this error, pass valid values for auto-renew. The following list\nshows the valid values auto-renew:\n\n- **gcloud CLI** : `--auto-renew`, `--no-auto-renew`\n- **Compute Engine API** : `true`, `false`\n\nResource not available for auto-renew\n\nThe following error occurs when you try to update the auto-renew setting for a\ncommitment. \n\n```\nRESOURCE_NOT_READY_WITH_DETAILS\n```\n\nThis error occurs if you try to update the auto-renew setting on a commitment\nthat is in one of the following states: Creating, Expired, Cancelled.\n\nTo resolve this error, only update the auto-renew setting on a commitment when\nit is in the Active state.\n\nWhat's next\n\n- [Learn how to renew commitments\n automatically](/compute/docs/instances/renew-commitments-automatically)."]]