我正在尝试使用 Okta 的 api 将用户添加到应用程序。这是我的要求:
POST /api/v1/apps/0oagjhAEEQZFXXLMFVSQ/users/00ugfzFQBXZJFRJCTAUX
Accept: application/json
Content-Type: application/json
Authorization: SSWS <apikey>
为什么我会收到此错误?
{
"errorCode": "E0000003",
"errorSummary": "The request body was not well-formed: Could not read JSON: No content to map to Object due to end of input; nested exception is java.io.EOFException: No content to map to Object due to end of input",
"errorLink": "E0000003",
"errorId": "oaeqgZFFjUXS2qcagR7-PIBYA",
"errorCauses": []
}