I sometimes see (on some customer instances) following error (403 response code):
{"errorMessage":"You do not have permission to access this Request Type.","i18nErrorMessage":{"i18nKey":"sd.admin.requestfield.edit.error.nopermission","parameters":[]}}
It happens pretty rarely, but if it happens, then the app is basically broken for such unlucky customers. I’m unable to reproduce it. Does anyone know what kind of permissions the app might be missing?
In case of connect app, verify if you are creating the JWT using appropriate app_key, shared_secret and URLs.
If you are using user impersonation then verify if the impersonated user has appropriate permission to the requested objects. In this case app’s access to BROWSE_PROJECTS wont really matter.
403 is also seen in some rare scenarios where the problem may not be directly related to actual permissions but related to the license itself. Check if the JSM license for the given site is valid.
Hi, I’ve also countered the same proble. Here is an endpoint that returns this error.
I have a Connect plugin where I fetch request types for particular Service Desk project like so:
So I’m trying to access this resource using user permission. And it works only when I logs as ORG Admin. I tried to add trusted user (not org admin) to administrators in service desk project, but it returns the error described in this thread.