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

Notifications

Announcements

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,187 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard