I'm trying to add a comment to a Google Drive document - the auth tokens and client IDs are all correct (trying to do everything else works), but when adding a comment - I get an error:
code: 400,
message: 'Resource metadata required',
data:
[ { domain: 'global',
reason: 'required',
message: 'Resource metadata required' } ] }
No idea what's going on. I'm sending in a resource that contains { content: 'something' } and also another param for fileId.
Please let me know if you have any ideas.
Thanks!