Free Support Forum - groupdocs.com

Starting annotation fails on documents uploaded via API

When we upload a document via API, we are able to find it in the dashboard, but viewing / annotating fails with an error saying something like



“Could not find a part of the path 'E:\inetpub\wwwapi\v2.0\App_Data\188931\temp\Cache…”



Files uploaded directly in the dashboard work fine with the viewing / annotating tools.



What trick are we missing?

Hi Support Team,


Please give this customer an update ASAP.

Many thanks

John
urban:
When we upload a document via API, we are able to find it in the dashboard, but viewing / annotating fails with an error saying something like

"Could not find a part of the path 'E:\inetpub\wwwapi\v2.0\App_Data\188931\temp\Cache\......"

Files uploaded directly in the dashboard work fine with the viewing / annotating tools.

What trick are we missing?


Still no answer? As a paying customer we expect much faster reaction time than five days....
Hello,

Sorry for the delay with answer.

Could you please share with us the code example for the API that you use to upload file into GroupDocs.

We will wait for your results.

---------

Best regards,
Evgen Efimov

http://groupdocs.com
Your Document Collaboration APIs
Follow us on LinkedIn, Twitter, Facebook and Google+

Hello,



with the following lines of code we transfer a document, move it into the ‘home’-directory und rename it.



$uploadResult = $storageApi->UploadWeb($clientId, “http://…/dummy_03.pdf”);



$id = $uploadResult->result->id;



try {

$mf = $storageApi->MoveFile($clientId, ‘dummy_03_renamed.pdf’, NULL, $id, NULL);

} catch (Exception $e) {

$error = 'ERROR: ’ . $e->getMessage() . “\n”;

$message = $error;

}



The moved and renamed PDF is accessible via the dashboard, but viewing / annotating fails with the error-message mentioned above.

Hi,


Thank you for your code example. The code looks ok, as for the issue - yes its a known bug and our Product team already work on it.

Sorry for the inconvenience, we will notify you when it will be fixed.

Best regards.

No news in this case?



Just to clarify: what you call a ‘known bug’ is not just an inconvenience for us, but an essential error, stopping our application development. This case is open for weeks now and nobody is telling us, if there is progress or not…





Hi,


Sorry for the delay. The issue is fixed, please try again and notify us with the results.

Thank you.

Im very sorry, but it does not seem as if the issue has been fixed.



I just uploaded a PDF-document two times: one via the dashboard, one via the API.



Result: the version uploaded via dashboard can be opened in the viewer, opening the version uploaded throws an error.



Please give us a hint, what´s going wrong.

Hi Urban,


I have double checked it and all works fine for me - the document uploaded via the API viewed/annotated well. Could you please share with me the file that you use.

Thank you.

I attach two files:



1. screenshot of dashboard showing the two uploaded files

2. screenshot of the error message displayed when trying to open ‘dummy3_umbenannt.pdf’, which is the file uploaded via API



The original file is located at http://kunststoff-institut-luedenscheid.de/download/de/dummy_03.pdf

Hi,


Thank you fro the URL. Now I was able to reproduce the issue, its reason is in the uploading from web functional. We will fix it and then I will return to you with the updates.

As a temporary solution - you can save the file locally and then upload to the GroupDocs.

Best regards.

Any news on this issue?

Hi,


Thank you for asking. Yes, the issue is fixed - please try again and notify me with the results.

Thank you.

The error persists. A document uploaded from a http-source can´t be opened in a viewer / annotation-session.



I´m sorry, but after weeks of silence nothing changed. Very, very disappointing.



Maybe the error could be fixed, if there was some kind of dialog between the support-team and the user. A diaolog without lacks of communication for several days in between…

Hello,

Sorry for the delay.

Unfortunately, we can't reproduce the issue with Upload Web method, for us it works well, as you can see on the screenshot that your file was uploaded correctly. Could you recheck the issue again , it should be fixed now .

We will wait for your details.

----------

Best regards,
Evgen Efimov

http://groupdocs.com
Your Document Collaboration APIs
Follow us on LinkedIn, Twitter, Facebook and Google+

I just read your last answer - I will check again and post a feedback

I am still facing the previously described problem: a document uploaded from an http-source via API and moved to another directory (here: root) can not be opened for a annotation-session.



please log in to my dashboard and try it yourself: the document uploaded with today´s date does not work…

Hello,

We have managed to reproduce the issue , when the file was moved from "My Web Documents" folder to root, but if you will not move it, then it should works well in the Annotation service . We have notified our Product team about the issue and they started to work on this issue. We will notify you when the issue will be resolved.

We apologize for the inconvenience.

------

Best regards,
Evgen Efimov

http://groupdocs.com
Your Document Collaboration APIs
Follow us on LinkedIn, Twitter, Facebook and Google+

I would like to ask if there are any news concerning this issue?