Issue connecting to microsoft project online api

Hi ,

I have an issue connecting to Microsoft project online api .
Actually i have all permissions to sharepoint but when am trying to get the projectData:
I got this error message :
“error”: {
“code”: “-1, System.InvalidOperationException”,
“message”: {
“lang”: “en-US”,
“value”: “User: not found in Active directory or in project db.”

Am asking if there is a code or something special that i can use to access to my project data on ms project online api .


Please is there any one can help me ??