Open Jaafar-abusair opened 7 years ago
I'm trying to use PutItem like the following
var params = { TableName: "
AWSDynamoDB.PutItem(params).then((response) => { console.debug("Success"); console.debug(response); }).catch((error) => { console.debug("failed"); console.debug(error); });
and im getting this
{ [Error: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 64 path $.Item.] 04-27 13:35:19.832 6937 7049 D ReactNativeJS: framesToPop: 1, 04-27 13:35:19.832 6937 7049 D ReactNativeJS: code: 'EUNSPECIFIED', 04-27 13:35:19.832 6937 7049 D ReactNativeJS: line: 19400, 04-27 13:35:19.832 6937 7049 D ReactNativeJS: column: 29, 04-27 13:35:19.832 6937 7049 D ReactNativeJS: sourceURL: 'http://10.0.2.2:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false' }
I'm trying to use PutItem like the following
var params = { TableName: "
and im getting this
{ [Error: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 64 path $.Item.] 04-27 13:35:19.832 6937 7049 D ReactNativeJS: framesToPop: 1, 04-27 13:35:19.832 6937 7049 D ReactNativeJS: code: 'EUNSPECIFIED', 04-27 13:35:19.832 6937 7049 D ReactNativeJS: line: 19400, 04-27 13:35:19.832 6937 7049 D ReactNativeJS: column: 29, 04-27 13:35:19.832 6937 7049 D ReactNativeJS: sourceURL: 'http://10.0.2.2:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false' }