hey guys!
We using the datocms/cma-client-node’s createFromUrl function to upload a pdf file but it gets stuck on UPLOADING_FILE phase
The implementation was pretty straight forward, we have an endpoint that generates pdf and it’s url is being passed as parameter. We also tried a different file from a different url(a random image, so this can be recreated with ease), but the problem persisted.
We would appreciate any help.
Here’s the bit of code:
return client.uploads.createFromUrl({
url: 'baseUrl/api/handlePdf/70109802',
filename: 'test.pdf',
onProgress: handleProgress,
});
Here’s a screenshot of the progress: