Share via

Send Http request to sharepoint is returning this error "The property '__metadata' does not exist on type 'SP.ResourcePath"

john john 1,031 Reputation points
2023-07-27T00:07:16.3166667+00:00

I want to move custom list items between identical lists i followed those links:-

https://gist.github.com/zplume/9f4c1a658517802701deff3473f23a60

https://www.youtube.com/watch?v=mN_Jr8GW64g

So i created this flow:-

[johnjohn123_0-1690415723335.png

](https://i.stack.imgur.com/Mgqvs.png)

but i will get this error:-

{"odata.error":{"code":"-1, Microsoft.Data.OData.ODataException","message":{"lang":"en-US","value":"The property '__metadata' does not exist on type 'SP.ResourcePath'. Make sure to only use property names that are defined by the type."}}}
clientRequestId: 71cf6fce-73bd-4335-83df-31ae603dd853
serviceRequestId: 816ccaa0-d0d5-6000-ff29-594c711f7947

any advice?

Microsoft 365 and Office | SharePoint | Development
Microsoft 365 and Office | SharePoint | For business | Windows
0 comments No comments

1 answer

Sort by: Most helpful
  1. Anonymous
    2023-07-27T09:15:25.7733333+00:00

    HI @john john

    Do you want to move the newly created item to other folders in the current list?

    Here are some links for your reference:

    https://powerusers.microsoft.com/t5/Building-Flows/Moving-a-List-item-into-a-folder-within-a-list/td-p/929227

    https://michelcarlo.com/2019/03/04/microsoft-flow-how-to-move-sharepoint-online-list-items-to-folders/


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Best Regards

    Cheng Feng

    Was this answer helpful?

    0 comments No comments

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.