Skip to content

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

@morerohit86

Description

@morerohit86

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions