08-24-2022 09:17 AM
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:
Is there a way I can fix this?
Thank you.
08-24-2022 12:35 PM
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
08-25-2022 04:51 AM
First of all thanks for the reply.
For v1.7 I'm refering to Adobe PDF 1.7 version.
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.
Explore our Alfresco products with the links below. Use labels to filter content by product module.