Solution for Cannot write to google sheets using Apikey authentication type in UiPath
is Given Below:
I am trying to use write range to write to google sheets but encountered the following error:
Write Range: Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project. 
I am using ApiKey in GSuite Application Scope. According to the gsuite documentation here,https://docs.uipath.com/activities/docs/gsuite-application-scope , I should be able to use write range (a Google sheet activitie) using ApiKey. But why does the error message suggest that I need OAuth authentication?
Note: there was no issue when I use the read range from google sheet within the same workflow