![](/img/trans.png)
[英]Getting Error in Azure Logic Apps in HTTP POST :- "BadRequest. Http request failed: the content was not a valid JSON."
[英]Azure Logic Apps — HTTP Action — POST Error
所以我試圖從 MSFT 獲取授權令牌。 我正在使用 HTTP 請求 object 作為操作。 我將方法設置為 POST,提供 URI,在 Header 中設置一個 Content_Type,並在正文中添加一個授權類型。 LogicApps HTTP 設置的屏幕截圖
當我運行我的邏輯應用程序時,我收到以下錯誤:
"error": "invalid_request",
"error_description": "AADSTS900144: The request body must contain the following parameter: 'grant_type'.\r\nTrace ID: ef137edb-87d4-43e2-88b7-d119b2c00500\r\nCorrelation ID: 4ea88c05-7f28-4e3f-bb31-052c3baac198\r\nTimestamp: 2020-05-22 17:33:21Z",
"error_codes": [
900144
所以錯誤說我缺少“grant_type”,但我在正文中有它。
誰能指出我解決這個問題的方向?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.