更新时间:2024-08-07 GMT+08:00
        
          
          
        
      
      
      
      
      
      
      
      
  
      
      
      
        
IAM认证信息错误
IAM认证信息错误有:
- Incorrect IAM authentication information: AK access failed to reach the limit,forbidden
 - Incorrect IAM authentication information: decrypt token fail
 - Incorrect IAM authentication information: Get secretKey failed
 
Incorrect IAM authentication information: AK access failed to reach the limit,forbidden
{    
  "error_msg": "Incorrect IAM authentication information: AK access failed to reach the limit,forbidden." ......   
  "error_code": "APIG.0301", 
  "request_id": "******" 
}
 可能原因
- aksk签名计算错误。
 - ak对应的sk不匹配。
 - aksk频繁出现鉴权出错,连续错误5次以上,被锁定5分钟(5分钟内鉴权失败,误以为是异常的鉴权请求)。
 - token鉴权时,token过期。
 
Incorrect IAM authentication information: decrypt token fail
{
  "error_msg": "Incorrect IAM authentication information: decrypt token fail",
  "error_code": "APIG.0301",
  "request_id": "******"
}
  可能原因
用户的API所属IAM认证,TOKEN解析失败。
解决办法
- 检查获取的token是否为对应IAM账号下的token。
 - 检查获取token的方法,token是否正确。
 - 检查获取token的环境与调用的环境是否一致。
 
   父主题: API认证鉴权