When using checkPermission method on Commands API class, regardless of the input it always returns status code 404:
{
"developerMessage": "The requested resource does not exist.",
"moreInfo": "https://forge.autodesk.com/en/docs/oauth/v2/developers_guide/error_handling/",
"errorCode": "org.mozilla.javascript.Undefined@0"
}
It seems like the internal method _commandsApiCal is using the request method GET and according to the documentation it should be POST
When using checkPermission method on Commands API class, regardless of the input it always returns status code 404:
It seems like the internal method
_commandsApiCal
is using the request methodGET
and according to the documentation it should bePOST
https://github.com/Autodesk-Forge/forge-api-nodejs-client/blob/33b121b6cdc3b1486e8c3b145d0856005ab251d4/src/api/CommandsApi.js#L191-L195
Documentation here: https://forge.autodesk.com/en/docs/data/v2/reference/http/CheckPermission/
I can successfully use the check permission command when calling the API externally.
Best Regards, /Karl