Can't connect to DynamoDB that contains hyphen in table name

I,d like to connect apps to DynamoDB, and I have created Data Source connection to DynamoDB on my AWS account.
I was able to connect apps to some tables using that Data Source. However, using same Data Source, an error occurs when trying to connect to a table that only contains hyphen in the table name.

Error: Data table ‘table-name’ is not accessible due to: Error in AWS provider:GetColTypes: Requested resource not found. Error: Table ‘table-name’ is no longer connected to its schema/column structure. Please inform support@appsheet.com and restore the previous app version from the Manage → Version pane

I tried following table name.(Curiously, some table with hyphen was able to connect.)

  • OK
    • sampleIds
    • memo-table
    • users
    • products
    • audio_table_prd
  • Error
    • audio-table-prd
    • scanned-data
    • a-data

following is IAM Policy for API Key. Looks like nothing is wrong.

{
  "Version": "2012-10-17",
  "Statement": [
      {
          "Sid": "BucketAccess",
          "Effect": "Allow",
          "Action": [
              "s3:Get*",
              "s3:List*",
              "s3:PutObject"
          ],
          "Resource": "arn:aws:s3:::*"
      },
      {
          "Sid": "DynamoDBAccess",
          "Effect": "Allow",
          "Action":  "dynamodb:*",
          "Resource": "*"
      }
  ]
}

How can I connect App to DynamoDB that contains hyphen in table name?

Thanks,
wakatsuki

1 Like