[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-08-18 (世界標準時間)。"],[[["\u003cp\u003eThis documentation addresses an error where API proxy deployment fails due to an invalid spike arrest rate specified in the Spike Arrest Policy.\u003c/p\u003e\n"],["\u003cp\u003eThe error, "Invalid spike arrest rate," occurs when the \u003ccode\u003e<Rate>\u003c/code\u003e element within the Spike Arrest Policy is not an integer or lacks the \u003ccode\u003eps\u003c/code\u003e or \u003ccode\u003epm\u003c/code\u003e suffix.\u003c/p\u003e\n"],["\u003cp\u003eDiagnosis involves identifying the invalid rate from the error message and locating the corresponding Spike Arrest policy with the incorrect \u003ccode\u003e<Rate>\u003c/code\u003e value.\u003c/p\u003e\n"],["\u003cp\u003eTo resolve the issue, the \u003ccode\u003e<Rate>\u003c/code\u003e element in the Spike Arrest Policy must be modified to use an integer value with either \u003ccode\u003eps\u003c/code\u003e (per second) or \u003ccode\u003epm\u003c/code\u003e (per minute) as a suffix.\u003c/p\u003e\n"]]],[],null,["*You're viewing **Apigee** and **Apigee hybrid** documentation.\nView [Apigee Edge](https://docs.apigee.com/api-platform/troubleshoot/policies/deployment/spike-arrest-deployment-errors) documentation.*\n| Was this troubleshooting playbook helpful? Please let us know by clicking [Send Feedback]().\n\nInvalidAllowedRate\n\nError message\n\nDeployment of the API proxy through either the Apigee UI or API fails\nwith this error message: \n\n```transact-sql\nError Saving Revision [revision_number]\nInvalid spike arrest rate [invalid_rate].\n```\n\n**Example error messages** \n\n Error Saving Revision 1\n Invalid spike arrest rate 30s.\n\n Error Saving Revision 1\n Invalid spike arrest rate 30.1ps.\n\n**Example screenshots**\n\nCause\n\nIf the spike arrest rate specified in the `\u003cRate\u003e` element of the Spike Arrest\nPolicy is not an integer or if the rate does not have `ps` or `pm` as a suffix,\nthen the deployment of the API proxy fails.\n\nThe valid values are `[`***int***`]ps` and `[`***int***`]pm`.\n\nFor example, if the spike arrest rate specified is `30.1ps` in the `\u003cRate\u003e` element\nof a Spike Arrest Policy, then the deployment of the API proxy fails. This is\nbecause 30.1 is not an integer.\n\nDiagnosis\n\n1. Identify the invalid spike arrest rate specified in the Spike Arrest policy.\n You can find this information from the error message. For example, in the following\n error, the invalid spike arrest is `30.1`:\n\n Error Saving Revision 1\n Invalid spike arrest rate 30.1ps.\n\n2. Examine all the Spike Arrest policies in the specific API proxy where the\n failure has occurred. If there is any Spike Arrest policy in which the spike\n arrest specified in the `\u003cRate\u003e` element matches the invalid spike arrest rate\n identified in Step #1 above, then that's the cause of the error.\n\n For example, the following policy specifies the value of `\u003cRate\u003e` as 30.1ps,\n which matches what's in the error message: \n\n \u003c?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?\u003e\n \u003cSpikeArrest async=\"false\" continueOnError=\"false\" enabled=\"true\" name=\"CheckRate\"\u003e\n \u003cDisplayName\u003eCheckRate\u003c/DisplayName\u003e\n \u003cProperties/\u003e\n \u003cIdentifier ref=\"request.header.some-header-name\"/\u003e\n \u003cMessageWeight ref=\"request.header.weight\"/\u003e\n \u003cRate\u003e30.1ps\u003c/Rate\u003e\n \u003c/SpikeArrest\u003e\n\n Since the spike arrest rate specified in the `\u003cRate\u003e` element is not an integer,\n the deployment of the API Proxy fails with the error: \n\n Invalid spike arrest rate 30.1ps.\n\nResolution\n\nEnsure that the value of the spike arrest rate specified in the `\u003cRate\u003e` element\nof the Spike Arrest Policy is an integer and has `ps` or `pm` as a suffix. For\nexample: \n\n \u003c?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?\u003e\n \u003cSpikeArrest async=\"false\" continueOnError=\"false\" enabled=\"true\" name=\"CheckRate\"\u003e\n \u003cDisplayName\u003eCheckRate\u003c/DisplayName\u003e\n \u003cProperties/\u003e\n \u003cIdentifier ref=\"request.header.some-header-name\"/\u003e\n \u003cMessageWeight ref=\"request.header.weight\"/\u003e\n \u003cRate\u003e30ps\u003c/Rate\u003e\n \u003c/SpikeArrest\u003e"]]