REST API调用-获得HRESULT:0x80131904 [英] REST API call - got HRESULT: 0x80131904
本文介绍了REST API调用-获得HRESULT:0x80131904的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
I'm trying to call REST API for my SP list via this url
And I get a weird error:
< m:错误xmlns:m =" http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
< m:code> -2146232060,Microsoft.SharePoint.SPException</m:code>
< m:消息xml:lang ="en-US"> HRESULT的异常:0x80131904</m:message>
</m:错误>
<m:error xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
<m:code>-2146232060, Microsoft.SharePoint.SPException</m:code>
<m:message xml:lang="en-US">Exception from HRESULT: 0x80131904</m:message>
</m:error>
我做错了什么?
推荐答案
请在下面使用REST URI:
Please use the REST URI below:
/_api/web/lists/getbytitle('CustomList')/items?
select = Id,Title,ParentCategory/Id&
select=Id,Title,ParentCategory/Id&
orderby =已创建desc&
orderby=Created desc&
这篇关于REST API调用-获得HRESULT:0x80131904的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文