Hi @NoamH, and thank you for reaching out to the community about your API issue! Taking a quick look, it seems that the issue may be the authentication method you’re using.
As noted in this Knowledge Base article, to query the endpoints documented in the API Browser, you cannot use the Client Credentials method:
“Please Note: With the new 7.0 APIs, found at https://YOURLMS.docebosaas.com/api-browser/
, the system requires a specific user permission in order to work properly. Because of this, you will not be able to use client credentials to call this type of API.”
Instead, you should select the Resource Owner Password Credentials option (grant_type is password). A Superadmin login is required for authentication.
Hi @elliott.vickrey, I tried the same with the JWT token. I was able to generate the token, access Docebo LRS and fetch the xAPI statements. But when I push a xAPI Statement with another user context i.e. with another username and email ID, I am getting an error that I am not allowed to do that. How can I solve this or is there any other approach other than using Resource Owner Password Credentials option to generate an access token and use that to make post request to LRS with another user context?