Getting SerializationError when using SimpleDB
Hi!
I'm trying to use paws to connect to a SimpleDB. However, when I run the R code below, I get the following error message:
Error: SerializationError (HTTP 401). failed to decode query XML error response
I'm running R 4.2.1 and have just installed paws. Also, my credentials work perfectly on Python boto3.
What should I do?
Thanks!
svc <- simpledb(
config = list(
credentials = list(
creds = list(
access_key_id = "my_acess_key",
secret_access_key = "my_secret_access_key "
)
),
region = "sa-east-1"
)
)
svc$list_domains()
I get this too. It is a bug. Sorry about that. We will look into it.
Investigation notes:
- When I run
svc$list_domainsin the debugger and look at the response body, I get<Code>AuthFailure</Code><Message>AWS was not able to authenticate the request: access credentials are missing</Message>. - This implies to me that SimpleDB either needs custom code to supply the credentials, and cannot rely solely on the query protocol handlers and v2 signer, OR the v2 signer is broken.
- The only services that use the v2 signer are SimpleDB and ImportExport.
- Not able to get ImportExport to work -- requests take a long time. Would seem to indicate the signing works though.
Hello @pedroteles17,
Is this an existing SimpleDB you are connecting to, or are you building something new with SimpleDB? If the latter and you want a quick solution, could you use a different service like DynamoDB that Paws supports better?