android - AWS crc32 mismatch dynamo -


i trying request entries aws dynamodb app in android studio. getting crc32 mismatch scanresult. know why happening. attaching snippet , stack trace below.

credentials = new cognitocachingcredentialsprovider(             mapvalidate.getcontext(), // context             “filled_my_id_here", // identity pool id             regions.us_east_1 // region     );  amazondynamodbclient dynamodb = new amazondynamodbclient(credentials); region useast1 = region.getregion(regions.us_east_1); dynamodb.setregion(useast1);  hashmap<string,condition> scanfilter = new hashmap<string,condition>();  condition condition1lat = new condition()             .withcomparisonoperator(comparisonoperator.eq.tostring())             .withattributevaluelist(new attributevalue().withs(user_lat)); scanfilter.put("deglat", condition1lat);  scanrequest scanrequest = new scanrequest()             .withtablename("my_table_name")             .withattributestoget("deglat","deglong","latitude")             .withscanfilter(scanfilter);  scanresult result = dynamodb.scan(scanrequest); 

i getting following exception below:

04-28 19:34:03.729    4744-4793/com.google.sample i/amazonhttpclient﹕  unable execute http request:  client calculated crc32 checksum didn't match calculated server side 

crc checksum errors may caused requesting compression in request header. if have not done this, please try following clientconfiguration:

clientconfiguration clientconfig = new clientconfiguration(); clientconfig.withgzip(clientconfiguration.default_use_gzip /*false*/); 

Comments

Popular posts from this blog

java - Spring Data JPA: Why findOne(id) executing delete query internally? -

python - Mongodb How to add addtional information when aggregating? -

java - Incorrect order of records in M-M relationship in hibernate -