[Amazon DynamoDB Connector] Invalid Region When I Try to Get Data from Amazon DynamoDB

[Amazon DynamoDB Connector] Invalid Region When I Try to Get Data from Amazon DynamoDB

  
Forge Component
(3)
Published on 7 Dec (11 days ago) by Guilherme Pereira
3 votes
Published on 7 Dec (11 days ago) by Guilherme Pereira

Hi,

I want to get data from Amazon DynamoDB. I use the plugin "Amazon DynamoDB Connector" to get but When I did, it always shows the error "Invalid region".



Can you suggest me what I miss or need to config more?

Best regards,

Siripornthavee


Hi,

in the first screenshot you seem to be using the correct name for the region but as the message is only partial i cannot confirm. 


Can you share you test module so we can take a look? Please remove any keys or confidential information before sending.


cheers,

Guilherme

Guilherme Pereira wrote:

Hi,

in the first screenshot you seem to be using the correct name for the region but as the message is only partial i cannot confirm. 


Can you share you test module so we can take a look? Please remove any keys or confidential information before sending.


cheers,

Guilherme

Hi Guilherme,


Thank you for your reply. Sure. This is my Test Module.


Best regards,

Siripornthavee

Hi Gift,


I took a look at your sample and I believe the problem may be in the code:

Your passing the local variable into the Login method


whereas the screen widgets have the form variables instead



You should pass the form variable to the login method. You can also use this in debug mode and should be easy to identify

In any case a quick note. You're using the Extension AmazonDynamoDBConnector and it should work but the component is designed so the wrapper AmazonDynamoDB espace should be used instead and the configuration defined in site properties


Hope this helps,

Guilherme

Hi Guiherme,


I found the cause of this problem at the code of extension.


You assign the value between the arguments and the mismatch parameters. 

You will need to reorder the variables.


Hope this helps,

Supachai

Hi Por,

 

Your absolutely right. Unfrotunately Dynamo and SQS are the two connectors I'm not using for real they were just built as PoCs hence the fail.


I've released a new version (1.0.1) with that fixed. Thanks for the help.


Cheers, 

Guilherme