Sharepoint Get File Content - 404 error

Mike Brown 1 Reputation point
2021-10-28T17:37:49.257+00:00

I'm trying to do a sync from our Sharepoint Document Libraries to a Azure File share. However, any "Get" block gives a 404 error.

144597-image.png

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
Microsoft 365 and Office | SharePoint | For business | Windows
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. MayankBargali-MSFT 70,986 Reputation points Moderator
    2021-10-29T04:24:54.22+00:00

    @Mike Brown If you are getting 404 error with Get file content using path action then that means that your Path variable is not correct or when you are dynamically creating it may be missing / in your path or the file name/file path will be incomplete/incorrect.

    Example:

    /Lists/ContentTypeSyncLog/myfile.text  
    

    I will suggest you to navigate to the run history of your logic app and verify what File Path string is dynamically built and verify the same with your SharePoint file path if it is correct.

    Feel free to get back to me if you need any assistance.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.