Hello,
I have a http request which renames the file. That is fine. But I've used Encodian to change some text within my PDF and I want to update the existing file.
I worked through endless errors and finally I am stuck at the error of "The property 'content' does not exist on type 'SP.Data.Shared_x0020_DocumentsItem'. Make sure to only use property names that are defined by the type."
Update: just realised I didn't return my " '__metadata':
{'type':'SP.Data.Shared_x0020_DocumentsItem'}, " back into the body. I have now.
I looked at the schema for the file and it's definitely 'content', I even tried '$content' just in case. I've tried all manner of things for the content-type and content but in the screenshot is just the final area I arrived at. I've exhausted my limited JSON knowledge at this point. The 'Output' for the content is the File Content from Encodian wrapped in base64()

Thanks for any help!
Before the file rename happens, I have a condition that checks if the renamed version of the file already exists. If yes, it uses the regular SharePoint connectors for updating a file, but if no, I could only get it to work via the HTTP request. So that's why I'm not using the SharePoint connectors for this.