Google API

pathat
Kilo Expert

Hello.

Has anybody experiment or developed a workflow in ServiceNow that calls out to Google using the Google APIs? I'm interested in hearing about your experiences and lessons learned.

I am interested in managing users in my Google domain via the Google Directory API.

20 REPLIES 20

ark6
Mega Guru

Hi,



I am working with the team drives API and I am able to setup the OAUTH authentication.



However, when I am sending requests like this


{


"name":"test"


}



It returns a response as below


{


"error": {


  "errors": [


    {


      "domain": "global",


      "reason": "teamDriveNameRequired",


      "message": "The Team Drive name must be provided, not empty, and not entirely whitespace."


    }


  ],


  "code": 400,


  "message": "The Team Drive name must be provided, not empty, and not entirely whitespace."


}


}



find_real_file.png



Please help how I can pass the request body to get the response correctly. It seems like the request body is never sent to the API