You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to call renderListDataAsStream with filtering a date time field, if the date range is narrow, such as 10 days, then it returns items. If the date range is large, such as few months, it return error:
parsers.js:95 Uncaught (in promise) HttpRequestError: Error making HttpClient request in queryable [500] ::> {"odata.error":{"code":"-1, Microsoft.SharePoint.Client.UnknownError","message":{"lang":"en-US","value":"Unknown Error"}}}
at HttpRequestError.init (parsers.js:95:1)
at async Proxy.errorCheck (parsers.js:44:1)
at async queryable.js:120:1
The error your showing is from SharePoint API. As we mention in our docs this library is only a passthru to the Microsoft Graph and SharePoint apis and as such if you're seeing a 500 error in the console, then that's an issue with the api and not one we can solve. There may be something you can do to get around the error, but I'm not sure what.
To echo Julie's point, this is the service returning the error - nothing in the library. Based on the information provided you're broad query may be returning too many entries and is causing an error, possibly the 5000 item limit. You could use paging queries or keep the tighter filtering.
If you can share more about your scenario perhaps we can provide better guidance.
Major Version
4.x
Minor Version Number
4.0.0
Target environment
SharePoint Framework
Additional environment details
I am trying to call renderListDataAsStream with filtering a date time field, if the date range is narrow, such as 10 days, then it returns items. If the date range is large, such as few months, it return error:
parsers.js:95 Uncaught (in promise) HttpRequestError: Error making HttpClient request in queryable [500] ::> {"odata.error":{"code":"-1, Microsoft.SharePoint.Client.UnknownError","message":{"lang":"en-US","value":"Unknown Error"}}}
at HttpRequestError.init (parsers.js:95:1)
at async Proxy.errorCheck (parsers.js:44:1)
at async queryable.js:120:1
Expected or Desired Behavior
returning the document library items
Observed Behavior
the restful api returning error
Steps to Reproduce
The text was updated successfully, but these errors were encountered: