I want to check out a file in a SharePoint library using Power Automate (HTTP request to SharePoint and Rest API)
It works when I hardcode the filename. Ex. _api/web/GetFileByServerRelativeUrl('/sites/TheSite/TheLibrary/filename.docx')/CheckOut()
However when I add the filename dynamically in the following way (and others ways that I also tried), the filename is not displayed. The filename exists because I'm able to write it to a column of the library. Your help would be appreciated :)