Anbu 18
Anbu 18
CDCloudflare Developers
Created by Anbu 18 on 6/20/2024 in #general-help
Video upload to cloudflare R2 bucket from Android Studio Kotlin
Hey Guys I am trying to build an app that uploads video to specific R2 bucket in using kotlin in Android Studio. I am facing several issues so if anyone has the dummy code for it, that would be a great help Currently, I am facing issue with date. When I try to upload, it says format is incorrect <?xml version="1.0" encoding="UTF-8"?><Error><Code>InvalidArgument</Code><Message>Invalid Argument: Date provided in &apos;x-amz-date&apos; header (2024-06-20T05:51:32Z) didn&apos;t parse successfully</Message></Error> Any help will be much appreciated. Thank You
1 replies
CDCloudflare Developers
Created by Anbu 18 on 5/28/2024 in #general-help
Upload videos from Iphone to R2 bucket and facing 502 Gateway error
I am building an app where i need to upload video to R2 bucket. It uploads normally but when multiple people are uploading and larger files, it gives 502 gateway error on 1 or 2 videos and upload fails. What can be the reason for this? Error: Error Domain=com.amazonaws.AWSS3TransferUtilityErrorDomain Code=3 "Server Error" UserInfo={CF-RAY=xxxxxxxx-MCT, Server=cloudflare, Connection=keep-alive, Content-Type=application/xml, Date=Tue, 28 May 2024 15:36:37 GMT, Content-Length=162, NSLocalizedFailureReason=bad gateway, HTTPStatusCode=502, NSLocalizedDescription=Server Error, Vary=Accept-Encoding})
1 replies