{"error":"invalid_request"}
时间: 2023-09-13 09:03:44 浏览: 2158
{"error":"invalid_request"}表示请求错误,具体错误信息是"Missing grant type",意思是缺少授权类型。这个错误通常发生在请求中没有提供有效的授权类型。要解决这个问题,可以修改请求的headers中的"Content-Type"字段为"application/x-www-form-urlencoded",这样就能正确地指定授权类型。<span class="em">1</span><span class="em">2</span>
#### 引用[.reference_title]
- *1* [python post请求报错:{“error“:“invalid_request“,“error_description“:“Missing grant type“}](https://blog.csdn.net/qq_44667896/article/details/120043359)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* [spring boot报错Error parsing HTTP request header Note:further occurrences of ...](https://download.csdn.net/download/weixin_38626943/14039466)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文