我正在使用https://github.com/eddieharrison/sageone-api-php连接到 Sage one。问题是在访问令牌密钥后,当我使用服务时,例如get-ledger-accounts.php
每次收到此错误时我从圣人页面获得的当前访问令牌
HTTP/1.1 401 Unauthorized
Content-Type: application/json
Date: Tue, 10 May 2016 11:50:57 GMT Server: openresty
Content-Length: 114
Connection: keep-alive
{
"$diagnoses": [
{
"$severity": "error",
"$dataCode": "AuthorizationFailure",
"$message": "Access Denied",
"$source": ""
}
]
}
这是为什么 ?而如果我使用刷新令牌密钥,它会为无效密钥提供错误,这是正确的。有人可以帮我吗