Note that there are some explanatory texts on larger screens.

plurals
  1. PORails : gem "dynamoid" list_tables error
    text
    copied!<p>I'm not new to DynamoDB, but I'm new to DynamoID gem. I can't achieve to make it work since I get the following error :</p> <pre><code>/aws-sdk-1.28.1/lib/aws/core/client.rb:366:in `return_or_raise': The action or operation requested is invalid. Verify that the action is typed correctly. (AWS::DynamoDB::Errors::InvalidAction) /aws-sdk-1.28.1/lib/aws/core/client.rb:467:in `client_request' (eval):3:in `list_tables' /aws-sdk-1.28.1/lib/aws/dynamo_db/table_collection.rb:121:in `_each_item' /aws-sdk-1.28.1/lib/aws/core/collection/with_limit_and_next_token.rb:54:in `_each_batch' /aws-sdk-1.28.1/lib/aws/core/collection.rb:80:in `each_batch' /aws-sdk-1.28.1/lib/aws/core/collection.rb:47:in `each' /dynamoid-0.7.1/lib/dynamoid/adapter/aws_sdk.rb:185:in `collect' /dynamoid-0.7.1/lib/dynamoid/adapter/aws_sdk.rb:185:in `list_tables' /dynamoid-0.7.1/lib/dynamoid/adapter.rb:146:in `block (3 levels) in &lt;module:Adapter&gt;' /dynamoid-0.7.1/lib/dynamoid/adapter.rb:39:in `benchmark' /dynamoid-0.7.1/lib/dynamoid/adapter.rb:146:in `block (2 levels) in &lt;module:Adapter&gt;' /dynamoid-0.7.1/lib/dynamoid/adapter.rb:25:in `block in reconnect!' /dynamoid-0.7.1/lib/dynamoid/adapter.rb:39:in `benchmark' /dynamoid-0.7.1/lib/dynamoid/adapter.rb:25:in `reconnect!' /dynamoid-0.7.1/lib/dynamoid.rb:35:in `configure' app/config/initializers/dynamoid.rb:1:in `&lt;top (required)&gt;' </code></pre> <p>It seems that list_tables doesn't exist, but it's a method of the AWS Ruby SDK My model is very simple :</p> <pre><code>class Interaction include Dynamoid::Document table :name =&gt; :interactions, :key =&gt; :from, :read_capacity =&gt; 1, :write_capacity =&gt; 1 end </code></pre> <p>Could anybody help?</p> <p>Cheers, Emmanuel</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload