cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Flow Error Send HTTP Request to SharePoint to Clear out a Person Field

Hi,

I am receiving an error when I try to clear out a person field using Sent an HTTP Request to SharePoint.  It is a SharePoint Library. 

The error is:

A type named 'SP.Data.TestListListItem' could not be resolved by the model. When a model is available, each type name must resolve to a valid type.

The person field is SOL

Does anyone know what I am doing wrong?

Clear Person field.png

Thank you

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-litu-msft
Community Support
Community Support

Hi @Anonymous,

 

The Error that you met is caused by the wrong SP.ListNamelListItem, did you have renamed your List name in the past time?

If you have done, you can use the following link to get the ListEntityTypeFullName:

a-type-named-sp-data-listitem-could-not-be-resolved-by-the-model-when-a-model-is-available-each-type-name-must-resolve-to-a-valid-type-error-in-sharepoint-2013/Annotation 2019-08-30 150730.pngAnnotation 2019-08-30 150815.png

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

View solution in original post

4 REPLIES 4
v-litu-msft
Community Support
Community Support

Hi @Anonymous,

 

The Error that you met is caused by the wrong SP.ListNamelListItem, did you have renamed your List name in the past time?

If you have done, you can use the following link to get the ListEntityTypeFullName:

a-type-named-sp-data-listitem-could-not-be-resolved-by-the-model-when-a-model-is-available-each-type-name-must-resolve-to-a-valid-type-error-in-sharepoint-2013/Annotation 2019-08-30 150730.pngAnnotation 2019-08-30 150815.png

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

Anonymous
Not applicable

Hi Lin Tu,

Thank you for your help.  It is a new document library  I just built to troubleshoot and I named it TestList

Unfortunately when I try this 

/_api/web/lists/getbytitle(‘TestList’)?$select=ListItemEntityTypeFullName

after the site, I receive this error.

<m:code>
-1, Microsoft.SharePoint.Client.InvalidClientQueryException
</m:code>
<m:message xml:lang="en-US">
The expression "web/lists/getbytitle(‘TestList’)" is not valid.
</m:message>
</m:error>
 
Is it because it is a Library?
I tried a Custom list and still getting this error
 
Thank you,
Joanna

Hi @Anonymous,

 

I can reproduce your problem with the wrong list name, your issue probably caused by the error list name:

Annotation 2019-09-02 155108.png

Annotation 2019-09-02 162424.png

You could refer to this blog to get the XML data of a SharePoint list, then get the correct list name:

Getting-xml-data-from-a-sharepoint-list-the-easy-way

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

ok, it works perfectly.  Thank you. 

My last struggle was with the List vs the Library.  The SP.Data is TestListItem for a Library but it is TestListListItem if it's a Custom List.  One more List 🙂

Anyway, Lin Tu, your solution 

_api/lists/getbytitle('TestList')?$select=ListItemEntityTypeFullName

shows me the exact SP.Data list name.

Thank you so much!  You made my day!!!!

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (5,497)