cancel
Showing results for 
Search instead for 
Did you mean: 

Upload PDF Document v1.7 returning internal error

sfrodrigues
Champ in-the-making
Champ in-the-making

Hello!

I am trying to create a document in Alfresco via REST API using the url

https://{host}/alfresco/api/-default-/public/alfresco/versions/1/nodes/7147b27b-db2a-4f0f-bf6d-46388a5abe62/children?alf_ticket={token}&autoRename=true

This call does work for PDF documents with PDF version lower than 1.7. If I try to upload a document with version 1.7 I get an error, 500 Internal Server.

If I save the PDF as another PDF the document can be uploaded to Alfresco.

I can't modify all the PDF documents, it comes by email and we have to upload the file that comes from the client and there are some files that gives 500 internal server error.

Call with response error:image

Is there a way I can fix this?

Thank you.

2 REPLIES 2

abhinavmishra14
World-Class Innovator
World-Class Innovator

Unfortunately, it can't be determined what causing the error based on provided info. Please share the logs from alfresco.log, catalina.out for review after making this request. Also, could you please clarify what is v1.7, is it a version in alfresco (a pdf document's version history) or its adobe pdf version 1.7. I could not find anything related

~Abhinav
(ACSCE, AWS SAA, Azure Admin)

First of all thanks for the reply.

For v1.7 I'm refering to Adobe PDF 1.7 version.

image

In ths logs I get no errors and nothing is printed. Nothing in catalina.out and nothing in alfresco.log nor in other log files. The call for node/children returns 500 error and it just gives the 500 html error response.

I thought it could be known some problem in PDF with highest versions.