web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / SharePoint documents n...
Power Apps
Unanswered

SharePoint documents not loading in Model driven App subgird

(0) ShareShare
ReportReport
Posted on by

I'm having a problem loading SharePoint documents for records in my model driven app. 

 

asahyoun_0-1683313441153.png

 

Everything was working perfectly. I rechecked the SharePoint Integration configuration, the permissions, they are all set up correctly.

 

I can stil upload doucments and save them in SharePoint. When i debug in browser i see the below message when the subgrid is trying to fetch the documents.

asahyoun_2-1683314093271.png

{"error":{"code":"0x80040216","message":"An unexpected error occurred.","@Microsoft.PowerApps.CDS.ErrorDetails.ApiExceptionSourceKey":"Plugin/Microsoft.Crm.ObjectModel.SharePointDocumentService","@Microsoft.PowerApps.CDS.ErrorDetails.ApiStepKey":"-cd86--a07b-","@Microsoft.PowerApps.CDS.ErrorDetails.ApiDepthKey":"1","@Microsoft.PowerApps.CDS.ErrorDetails.ApiActivityIdKey":"--4ee3-90ca-","@Microsoft.PowerApps.CDS.ErrorDetails.ApiPluginSolutionNameKey":"System","@Microsoft.PowerApps.CDS.ErrorDetails.ApiStepSolutionNameKey":"System","@Microsoft.PowerApps.CDS.ErrorDetails.ApiExceptionCategory":"ClientError","@Microsoft.PowerApps.CDS.ErrorDetails.ApiExceptionMessageName":"UnExpected","@Microsoft.PowerApps.CDS.ErrorDetails.ApiExceptionHttpStatusCode":"400","@Microsoft.PowerApps.CDS.HelpLink":"http://go.microsoft.com/fwlink/?LinkID=398563&error=Microsoft.Crm.CrmException%3a80040216&client=platform","@Microsoft.PowerApps.CDS.InnerError.Message":"An unexpected error occurred."}}

 

Any help is much appreciated. I already wasted lots of time trying to understand what happened.

 

 

I have the same question (0)
  • Mae Profile Picture
    8 on at

    Were you able to find a solution? I am having the exact same issue. Thank you.

  • ivan_apps Profile Picture
    2,189 Moderator on at

    I had the same issue but it tends to fix itself after opening a different record and coming back to the erroring record. I haven't found a consistent fix though, sometimes it take a hard refresh.

  • Mae Profile Picture
    8 on at

    @ivan_apps thank you for responding. Glad you're having luck with it fixing itself for you. Gives me hope. Unfortunately I haven't been so lucky yet, even with opening a different record and going back or doing a hard refresh. 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 366 Most Valuable Professional

#2
11manish Profile Picture

11manish 184

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 99 Super User 2026 Season 1

Last 30 days Overall leaderboard