web
You’re offline. This is a read only version of the page.
close
Skip to main content
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.
I have the same question (0)
  • Gerardo Rentería García Profile Picture
    23,574 Most Valuable Professional on at
    [Application_DialogException] Opening the file failed
    Hi
    How are you getting this data?
    Best
    Regards
    Gerardo
  • Suggested answer
    YUN ZHU Profile Picture
    92,770 Super User 2025 Season 2 on at
    [Application_DialogException] Opening the file failed
    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
    [Application_DialogException] Opening the file failed
    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 4,330

#2
Sumit Singh Profile Picture

Sumit Singh 2,738

#3
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 2,546

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans