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

java.lang.RuntimeException: com.filestack.HttpException: {"error":"invalid params: size","timestamp":1640155298} #85

Open
morerohit86 opened this issue Dec 22, 2021 · 0 comments

Comments

@morerohit86
Copy link

Getting error: java.lang.RuntimeException: com.filestack.HttpException: {"error":"invalid params: size","timestamp":1640155298} when File size is over 2 GB. (I am uploading File from Local storage).
Supporting of Uploading 2GB+ files is not supported.
Since in SdK We are using int as file size, When file size is over 2GB then size becomes negative since 2Gb+ hits the MAX.INT.
Please Add the 'long' variable type instead of 'int' if this fixes the issue.

The code used is similar to https://github.com/filestack/filestack-android.

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