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

Accessing jobId difficult if upload_video fails with code 409 #278

Open
boreq opened this issue Feb 8, 2025 · 0 comments
Open

Accessing jobId difficult if upload_video fails with code 409 #278

boreq opened this issue Feb 8, 2025 · 0 comments

Comments

@boreq
Copy link

boreq commented Feb 8, 2025

Sometimes the call to upload_video via AtpServiceClient may fail with a response similar to:

{"did":"some did","error":"already_exists","jobId":"abc123","message":"Video already processed","state":"JOB_STATE_COMPLETED"}

Perhaps I massively misunderstood something since I'm new to rust but I'm under the impression that in this case there is no easy way to extract the jobId and status from the response. In fact I don't think there is an easy way to get at the raw response at all. If that's not the case then please close this issue.

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

1 participant