-
Notifications
You must be signed in to change notification settings - Fork 45
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
error code 400 #32
Comments
More details, such as the code and what you were doing, please. The error message itself is not helpful enough. |
get this error at: |
You cannot use |
i changed to use beginOrResumeUploadFromURL instead resumeOrCreateUpload |
and when use same approach in example: #19 (comment) get "android.os.NetworkOnMainThreadException" |
You must not invoke tus-android-client or tus-java-client on the main thread since network activity is not allowed on the main thread. This is not related to tus directly but it's a restriction for any Android app. Have a look at https://github.com/tus/tus-android-client/blob/master/example/src/main/java/io/tus/android/example/MainActivity.java to see an example or just search the web to fix NetworkOnMainThreadException. |
it's worked now and upload to vimeo after adding this answer |
Glad to hear that it worked! I am going to close this issue then. |
i got this error: javax.net.ssl.SSLException: Write error: ssl=0x720c8a5208: I/O error during system call, Broken pipe, this answer solved that error yesterday but today i got same error |
Were you able to solve this issue or is it still a problem? |
io.tus.java.client.ProtocolException: unexpected status code (400) while creating upload
The text was updated successfully, but these errors were encountered: