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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

[Application_DialogException] Opening the file failed

(0) ShareShare
ReportReport
Posted on by 11
I am trying to retrieve data from the pdfDocument table in D365BusinessCentral but I am getting the following error:
[Application_DialogException] Opening the file failed.  CorrelationId:  d9b0c6ff-96a6-49e1-b241-db5c8b5bdb56. 
 
 
 
Any help would be greatly appreciated.
  • Gerardo Rentería García Profile Picture
    27,623 Super User 2026 Season 2 on at
    Hi
    How are you getting this data?
    Best
    Regards
    Gerardo
  • Suggested answer
    YUN ZHU Profile Picture
    103,712 Super User 2026 Season 2 on at
    Hi, hope the following helps.
    Get pdfDocuments
     
    A simple test: https://api.businesscentral.dynamics.com/v2.0/c8558e71-6ad8-4fcd-9f29-3ca165b41bbe/Sandbox223/api/v2.0/companies(554f4f15-9c8e-ee11-be3e-6045bde96b9a)/salesInvoices(2f71fabc-90ab-ee11-a56a-6045bd686202)/pdfDocument
     
    Thanks.
    ZHU
  • Mery12 Profile Picture
    11 on at
    Hi, thank you for your replies,
     
    I have defined a prentType and parentId in the query :

     
    I can successfully retrieve the data for some Id's but for one of them it fails.
     
    In what cases would BC throw this kind of error?

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!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 740 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 570 Super User 2026 Season 2

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 291 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans