Getting an error in flow (URI) in step “Send an HTTP request to SharePoint”
-
19-02-2021 - |
Question
I have created a flow.
What I'm trying to do is, create item in SharePoint when MS-CRM Account records is updated. But, I'm getting an error. The expression is not valid (URI).
I'm Attaching a screenshot of my list name(customer):
I have referred above link:https://www.dmcinfo.com/latest-thinking/blog/id/9832/creating-sharepoint-list-items-in-microsoft-flow-using-a-rest-api
Please help me to resolve this issue.
La solution
Please use apostrophe instead of double quotes in the URI.
Autres conseils
I am not sure why you are using SharePoint REST API to create list item in SharePoint.
I will suggest you to use Create item action to create a list item in SharePoint.
For resolving your error:
You need to use your endpoint like below in Uri:
_api/web/lists/getbytitle('customer')/items
Additional: Refer this and this to know how you can configure create item action in flow.