by Stéphane Faure.
Hi,
This problem comes from Moodle not Salesforce.
You problem could come from the private policy authorization for your user. To test it, could you log into Moodle with the Moodle user you use in Myddleware (the one linked to your token in Moodle).
You will maybe have to check the authorization for private policy. If yes, could you check it and try again ? Thanks.
Best regards,
Stéphane