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

VideosService url_data Json Error #37

Closed
objectorientedperson opened this issue Oct 14, 2021 · 2 comments
Closed

VideosService url_data Json Error #37

objectorientedperson opened this issue Oct 14, 2021 · 2 comments

Comments

@objectorientedperson
Copy link

objectorientedperson commented Oct 14, 2021

Hi,

Sorry for bothering with too many issues. I try to upload a video by calling:

mZiggeo.videos().create(fileToSaveRecording, null, object : ProgressCallback() {}

but when I do, I get the output:

D/OkHttp: --> POST https://api-us-east-1.ziggeo.com/embed/v1/applications/bc90c5d7ed6f42fb08d3c8cb5e54875e/scitylana/kcart
Content-Type: application/json; charset=utf-8
Content-Length: 331
--> END POST
D/OkHttp: <-- 201 Created https://embed.ziggeo.com/v1/applications/bc90c5d7ed6f42fb08d3c8cb5e54875e/videos/videos-upload-url (1263ms)
Access-Control-Allow-Credentials: true
Access-Control-Allow-Methods: PUT, GET, POST, DELETE, OPTIONS
Access-Control-Allow-Origin: *
Cache-Control: no-cache,no-store,must-revalidate
Content-Type: application/json
Date: Thu, 14 Oct 2021 19:09:43 GMT
Pragma: no-cache
Server: Apache
Vary: Accept-Encoding,User-Agent
X-Content-Type-Options: nosniff
X-Powered-By: PHP/7.1.33
Connection: keep-alive
<-- END HTTP
E/VideosService: org.json.JSONException: No value for url_data

Could you please take a look into this? Thanks in advance.

@3akat
Copy link
Contributor

3akat commented Oct 18, 2021

@objectorientedperson please take a look at the v2.4.2

@objectorientedperson
Copy link
Author

@3akat issue fixed on v2.4.2. Thanks for the update.

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

2 participants