HERE API - 400 错误请求错误 - 令牌生成

时间:2021-04-14 10:58:13

标签: authentication here-api

我正在尝试连接到 API 以生成令牌,但出现以下错误;

{"errorId":"ERROR-10a45d16-c18c-445b-9318-e2dab5b19806","httpStatus":400,"errorCode":400200,"message":"Received invalid data.  See json element 'errorFields' for more information.","errorFields":[{"name":"client_id","errorCode":400201,"message":"This field is required."},{"name":"client_secret","errorCode":400201,"message":"This field is required."}],"error":"invalid_request","error_description":"errorCode: '400200'. List(client_id: 'This field is required.', client_secret: 'This field is required.')"}

我使用的是 Dynamics AX X++ 代码,但使用了 .net 框架。我不确定是不是我发送的正文不正确,grant_type=client_credentials 我需要发送这个还是会出现我遇到的错误?

我已经使用 Postman 成功创建了一个令牌,一切都很好,但不是通过我从 Dynamics AX / .net 调用的

如有任何指点,将不胜感激。

0 个答案:

没有答案