Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors when uploading media #21

Open
wmenge opened this issue Feb 17, 2020 · 2 comments
Open

Errors when uploading media #21

wmenge opened this issue Feb 17, 2020 · 2 comments

Comments

@wmenge
Copy link

wmenge commented Feb 17, 2020

When uploading media, we sometimes get an error. When it works it is quite slow. Your support team asked to create a ticket in this space.

We are using the java bynder api (bynder-java-sdk-1.0.9-SNAPSHOT-jar-with-dependencies.jar).

We get exceptions when making the following call:
SaveMediaResponse response = getAssetBankService().uploadFile(uploadQuery).blockingSingle();

The following exception is thrown:
com.bynder.sdk.service.exception.BynderUploadException

Message:
Converter did not finishe. Upload not completed.

Thrown from:
{ "class": "com.bynder.sdk.service.upload.FileUploader", "method": "lambda$null$6", "file": "FileUploader.java", "line": 150, "exact": false, "location": "bynder-java-sdk-1.0.9-SNAPSHOT-jar-with-dependencies.jar", "version": "?" },

Please let us know if you need anymore information.

regards,

Wilco Menge

@greenrya
Copy link

greenrya commented Dec 8, 2021

We are seeing a similar issue when using C#, were you able to resolve it?

Calling Bynder GetAssetService().UploadFileAsync() - BrandId: 1FD236ED-1AF0-4A4B-BCF21A49E680A7D0 MediaId: 05E03F0D-3C88-4BC5-BA028D844D2DE9B6, Filepath: 8022.dwg
Information
2021-12-08 06:24:46.344
SendHttpRequest - Status: InternalServerError Body: {"message":"Upload not ready","retry":1,"success":false} Headers: Connection = keep-alive, Date = Wed, 08 Dec 2021 06:24:46 GMT, Server = nginx, Cache-Control = no-store, must-revalidate, no-cache, X-Frame-Options = SAMEORIGIN, Access-Control-Allow-Origin = *, Access-Control-Allow-Credentials = true, Access-Control-Allow-Methods = GET, POST, PUT, DELETE, OPTIONS, Access-Control-Allow-Headers = DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization,X-Bynder-Integration, X-Cache = Error from cloudfront, Via = 1.1 063a9ddbb93cf698306df937132cd318.cloudfront.net (CloudFront), X-Amz-Cf-Pop = SFO5-C1, X-Amz-Cf-Id = qhfgb4BPqmp49cAXWBuDgbNekYK8kHVUYgTZxF7PKjRgZ0dnFpdEnw==

@cdeloo-rabobank
Copy link

cdeloo-rabobank commented Nov 25, 2024

Was this resolved? I faced this issue on the Java SDK for version 2.2.23 (and even experienced the same for the C# SDK).

Apparently polling the success status of an uploaded asset sometimes taking more time than the maximum set (MAX_POLLING_ITERATION=60 and POLLING_IDLE_TIME=2000ms). Any idea why?

A comment mentioned in this issue Bynder/bynder-c-sharp-sdk#32 suggests that some background process of Bynder is taking more time than expected to process the uploaded asset and hence the status occasionally does not reaches the success status within the allocated time.

What would you recommend to avoid this from occurring? Would increasing the MAX_POLLING_ITERATION be sufficient for for now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants