Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Receiving "DataSource.Error: Web.Contents failed to get contents" error when trying to connect using SharePoint Online List "RenderListDataAsStream' (500): Internal Server Error". I guess the issue is we are having over 5000 records. How do I override this error?
Hi @Rklearner ,
Has your problem been solved? If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
Hi @Rklearner
It is more helpful if you can share the M Code.
Also, try to
Hope it resolves your issue? Did I answer your question? Mark my post as a solution! Appreciate your Kudos, Press the thumbs up button!! Linkedin Profile |
I don't see the ApiVersion.
My Code looks like:
let
Source = SharePoint.Tables("https://xxxxxx.sharepoint.com/sites/CustomerHub/", [Implementation="2.0", ViewMode="All"]),
#"fdc6dc7f-80f9-45e0-b350-e93e1f714ccc" = Source{[Id="fdc6dc7f-80f9-45e0-b350-e93e1f714ccc"]}[Items],
#"Added Index" = Table.AddIndexColumn(#"fdc6dc7f-80f9-45e0-b350-e93e1f714ccc", "Index", 1, 1, Int64.Type)
in
#"Added Index"
Hi @Rklearner ,
Please try using an OData connector to directly request the columns from the document library to see if it gets rid of restrictions.
https://<SharePoint Domain>/sites/<Site Name>/_api/web/lists/getByTitle('<SharePoint Library Name>')/items?$select=<Field1>,<Field2>,<LookupField1>/<FieldToBeExpanded1>,<LookupField2>/<FieldToBeExpanded2>&$expand=<LookupField1>,<LookupField2>
For more information, please refer to:
SharePoint: Request failed: The remote server returned an error: (500) Internal Server Error.
SharePoint list view threshold error when importing fewer than 5000 rows
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
98 | |
96 | |
75 | |
71 | |
64 |
User | Count |
---|---|
143 | |
109 | |
103 | |
82 | |
74 |