错误代码 | 消息 | 说明 |
---|---|---|
400 | “<parameter name>”无效:<value> | 为指定设备参数提供的值无效。 |
400 | CBSD 不得设置活动配置。 | 具有活跃配置的设备已传递给 CreateDevice() 。 |
400 | CBSD 已过期:<CBSD> | 在传递到 SignDevice() 之前,服务器上的设备配置已更改。 |
400 | 密钥已过期:<secret> | 传递给 ValidateInstaller() 的 Secret 已过期。 |
400 | JWT 载荷中没有值。 | 编码后的 JWT 不包含 'value' 字段。 |
400 | 签名验证错误。 | 无法验证 CPI 签名。 |
401 | 缺少的请求需要身份验证凭据。指定的是 OAuth 2 访问令牌、登录 Cookie 或其他有效的身份验证凭据。如需了解详情,请参阅网站开发控制台项目的身份登录。 | 传递给 API 调用的凭据缺失。 |
403 | 无权调用此方法。 | 调用方缺少调用该方法所需的角色。 |
403 | 安装程序未经验证。 | 调用方具有 role_cpi 角色,但需要进行验证才能进行 API 调用。 |
404 | 找不到请求的实体。 | API 调用中指定的资源不存在。 |
409 | 实体已存在。 | API 调用中指定的资源已存在。 |
错误消息
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\u003cp\u003eThis table lists common Spectrum Access System (SAS) API error codes, their corresponding messages, and descriptions to aid in troubleshooting.\u003c/p\u003e\n"],["\u003cp\u003eErrors with a 400 code generally indicate an issue with the request, such as invalid parameters, outdated devices, or expired secrets.\u003c/p\u003e\n"],["\u003cp\u003eA 401 error signifies missing or invalid authentication credentials when making an API call.\u003c/p\u003e\n"],["\u003cp\u003eA 403 error arises when the caller lacks necessary permissions or has not been verified as an installer.\u003c/p\u003e\n"],["\u003cp\u003eA 404 or 409 error implies issues with the resource being requested, either not found or already existing.\u003c/p\u003e\n"]]],["The content details API error codes and their meanings. Code 400 indicates invalid parameters, active configurations passed to `CreateDevice()`, outdated configurations passed to `SignDevice()`, expired secrets passed to `ValidateInstaller()`, missing JWT fields, or signature verification failures. Code 401 signals missing authentication credentials. Code 403 means insufficient permissions or unverified installers. Code 404 signifies a nonexistent resource, and 409 indicates that a resource already exists.\n"],null,["# Error messages\n\n| Error code | Message | Description |\n|------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| 400 | Invalid \u003cvar translate=\"no\"\u003e<parameter name>\u003c/var\u003e: \u003cvar translate=\"no\"\u003e<value>\u003c/var\u003e | The given device parameter was provided with an invalid value. |\n| 400 | CBSD must not set active configuration. | A device with an active configuration was passed to [`CreateDevice()`](/spectrum-access-system/reference/rest/customers.devices/create). |\n| 400 | CBSD out-of-date: \u003cvar translate=\"no\"\u003e<CBSD>\u003c/var\u003e | The device configuration changed on the server prior to being passed to [`SignDevice()`](/spectrum-access-system/reference/rest/customers.devices/signDevice). |\n| 400 | Secret expired: \u003cvar translate=\"no\"\u003e<secret>\u003c/var\u003e | The secret passed to [`ValidateInstaller()`](/spectrum-access-system/reference/rest/customers.devices/validate) has expired. |\n| 400 | No 'value' in JWT payload. | The encoded JWT did not contain the 'value' field. |\n| 400 | Signature verification error. | The CPI signature could not be verified. |\n| 401 | A missing request required an authentication credential. Expected OAuth 2 access token, login cookie, or other valid authentication credential. See [identity sign-in for web devconsole project for details](/identity/sign-in/web/devconsole-project). | The credentials passed to the API call were missing. |\n| 403 | No permissions to call this method. | The caller is missing the role required to call the method. |\n| 403 | Installer not verified. | The caller has the `role_cpi` role but needs to be validated in order to make the API call. |\n| 404 | Requested entity was not found. | The resource specified in the API call doesn't exist. |\n| 409 | Entity already exists. | The resource specified in the API call already exists. |"]]