Google Apps Script Error while creating document using execution API PHP Client
问题 I tried fetching the list of folder and it got successfully fetched by php client. But when i tried creating a document using app script, the document gets created if i run app script code using Run icon in app script editor. But when I am using PHP client to execute the method, it shows me an error. Caught exception: Error calling POST https://script.googleapis.com/v1/scripts/..................:run: (401) ScriptError Also i have send both scopes: https://www.googleapis.com/auth/documents