Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

122
Views
[Azure]{NodeJS} Accessing MS Graph Using Client Credentials One Drive

I can't seem to grasp my error

this is the result of the JSON return

{
"error": {
    "code": "UnknownError",
    "message": "",
    "innerError": {
        "date": "2022-03-16T13:43:15",
        "request-id": "7dc60220-68fb-411f-a3e7-9d2eac74483a",
        "client-request-id": "7dc60220-68fb-411f-a3e7-9d2eac74483a"
         }
    }
}

it's not telling me anything

I don't know what's wrong,

I looked at the token and I have roles

by the way I have client_credentials token

 https://graph.microsoft.com/v1.0/drive/root/children

Update: I tried on https://developer.microsoft.com/en-us/graph/graph-explorer using this api https://graph.microsoft.com/v1.0/drive/root it works on that website,

But in postman it won't work, is it because I used client credentials token?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

You haven't specified which drive to open. The URL should be like this for a user's drive:

https://graph.microsoft.com/v1.0/users/{user-id}/drive/root/children

There are other examples on the documentation page. Note you cannot use /me as you are using client credentials, which means that the token does not identify a user. You must instead use /users/{user-id} for user drives.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!