question

GarethTerblanche-9138 avatar image
0 Votes"
GarethTerblanche-9138 asked GarethTerblanche-9138 answered

Get Share point file meta data using path gives Microsoft.SharePoint.SPException error

I have a logic app which stores the file path of a document as a variable I then use this to get the content of the file perform an HTTP post, run an SQL query and then need to delete the file. I have tried using the delete file option where I use the same variable as in the get content (which works every time) but get this error.

"The resource you are looking for has been removed, had its name changed, or is temporarily unavailable." So I thought that I would try to get the meta data of the file but still get an error: "errors": [
"-2130575338",
"Microsoft.SharePoint.SPException"
]

The files are not being deleted or moved from sharepoint.

azure-logic-apps
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

GarethTerblanche-9138 avatar image
0 Votes"
GarethTerblanche-9138 answered

I have managed to solve the issue. The variable had the file location stored with %20 as spaces once I removed these it worked perfectly. I would have expected some consistence with this seems odd that it works fine in one action but not the other.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.