API Forum

This forum is in read-only mode.
Please refer to our API support in case you have any questions.
We can be reached at api@e-conomic.com
e-conomic API developer forum

Anyone getting ServerException when using Invoice_GetPDF ?

0

In the last 24 hours I have begun getting the following message after using GetPDF with Java:

IOException : Economic.Api.Exceptions.ServerException(E00000): An internal error has occurred. (id=6f4185a3-7223-4acb-b151-fab11c700b8b)

The code I am using is as follows:
 
InvoiceHandle bookedInvoice = session.currentInvoice_Book(mycurInvoice);
 
FileOutputStream fos = new FileOutputStream(strFilePath);
 
fos.write(session.invoice_GetPdf(bookedInvoice));

 

It's the last line that causes the exception. This has occurred intermittently over the last 24 hours, perhaps on every 10th or 20th invoice. When I check the GUI, the problematic invoices have indeed been booked.

Apart from that, the code has worked fine for over a year and for many thousands of invoices.

 

Anyone else experiencing this issue?

 

Thanks,

Brian

 

 

created Nov 26, 2013 by mrbriandarnell
50% Accept Rate
Q 5 A 2 C 1

1 Answer

0
 
Best answer
Hello Brian

We will look into this asap.
answered Nov 26, 2013 by mha
selected Dec 7, 2013 by mrbriandarnell
This seems to be fixed. Whatever you did, it worked! Thnks
Visma e-conomic A/S
...