Skip to content

天气更新出错,代码xxx(code: xxx)

请根据天气源查询

佳明天气源

0未知错误
-1A generic BLE error has occurred.
-2We timed out waiting for a response from the host.
-3We timed out waiting for a response from a server.
-4Response contained no data.
-5The request was cancelled at the request of the system.
-101Too many requests have been made.
-102Serialized input data for the request was too large.
-103Send failed for an unknown reason.
-104No BLE connection is available.
-200Request contained invalid http header fields.
-201Request contained an invalid http body.
-202Request used an invalid http method.
-300等待响应超时
-400非法响应数据
-401Response contained invalid http header fields.
-402Serialized response was too large.
-403内存溢出
-1000Filesystem too full to store response data.
-1001Indicates an https connection is required for the request.
-1002Content type given in response is not supported or does not match what is expected.
-1003Http request was cancelled by the system.
-1004Connection was lost before a response could be obtained.
-1005Downloaded media file was unable to be read.
-1006Downloaded image file was unable to be processed.
-1007HLS content could not be downloaded. Most often occurs when requested and provided bit rates do not match

和风天气源

200请求成功
204请求成功,但你查询的地区暂时没有你需要的数据。
400请求错误,可能包含错误的请求参数或缺少必选的请求参数。
401认证失败,可能使用了错误的KEY、数字签名错误、KEY的类型错误(如使用SDK的KEY去访问Web API)。
402超过访问次数或余额不足以支持继续访问服务,你可以充值、升级访问量或等待访问量重置。
403无访问权限,可能是绑定的PackageName、BundleID、域名IP地址不一致,或者是需要额外付费的数据。
404查询的数据或地区不存在。
429超过限定的QPM(每分钟访问次数),请参考
500无响应或超时,接口服务异常请联系我们

彩云天气源

  • the token is invalid : 填错key了,请核对后填写
  • 没代码,直接字面理解