-
Notifications
You must be signed in to change notification settings - Fork 2
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
[Bug]: "The requested resource could not be found" on video upload And does not return video info on success #19
Comments
Hi, Your upload token might not be valid. Could you double check it? |
From what I understand from your stack trace, your are trying to upload by part and not with |
It is valid. I copied it from api.video dashboard and the selected video does gets uploaded to the videos section in api.video. It just does not return any response and shows that error in console |
Thank you @ThibaultBee, that error was on .upload and .uploadPart functions. I have updated the question But still the "video info in return" issue is in the .uploadWithUploadToken too.
|
About your first question, the reason is because the Also, it is not secure to store an API key in an application, see https://docs.api.video/sdks/security For your |
Here is the stacktrace for upload with token
|
Have you set |
When i dont set videoId, I dont get the error. still not getting the video response Stacktrace:
|
Exact code i am using
|
Do you have anything after Could you test on the provided example? |
|
the example seems to return the video object in response when i use the same upload code inside my function _uploadVideoToAPiVideo, it does not print out the video |
I put your code in the example (without
So it works. |
let me check that again |
even after removing the |
Is there something in your application that could unregister workmanager observer, live data or play for livecycle? As it works with the example, there is definitely something in your application that changes the behavior of the uploader, thus it is almost impossible to assist you with this issue. |
Version
1.2.3
Environment that reproduces the issue
Device: Pixel 5 mobile and emulator
Flutter version: 3.22.1
Is it reproducible in the example application?
Not tested
Reproduction steps
Expected result
Actual result
Additional context
No response
Relevant logs output
The text was updated successfully, but these errors were encountered: