Skip to main content

Notifications

Announcements

No record found.

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.
  • Mery12 Profile Picture
    Mery12 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?
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 75,561 Super User 2024 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
  • gdrenteria Profile Picture
    gdrenteria 12,831 Most Valuable Professional on at
    [Application_DialogException] Opening the file failed
    Hi
    How are you getting this data?
    Best
    Regards
    Gerardo

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

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,602 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,340 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans