V4.5.4 no Preview on documents uploaded via API

When I upload a new PDF document using the API,
the document ID is generated and the file content is pushed.
When I open the file and go to “files” I can see the file including the correct thumbnail and can also open and scroll through the file.

But when only selecting the file, the preview remains empty.
This was not the case in earlier versions

After doing some investigations I found out that the initial file has to be sent with action_name: replace and not action_name: append.

  • If appended, no preview is generated
  • if replaced, all good :+1:
1 Like

Thanks for the investigation.

Will look into having the API return a more informative error or fallback to a replace if no previous document version exists.

1 Like

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.