Problem connecting dynamodb with lambdas

Hello.
I have been trying for a few days to connect a lambda with dynamodb , both with python and java . At first it gave me an error with the profile, but once solved this simply the lambda starts to work but stays in an execution loop.

I am using the community version, and the lambda simply creates a table and inserts an element or directly inserts it if this table is already created.

Does anyone know what kind of problem I may be experiencing or has something similar happened to you?

Hi @dsantosm,

Please take a look at how you should provide the endpoints in your Lambda code: Transparent Endpoint Injection | Docs (localstack.cloud).
You could use the DEBUG=1 or LS_LOG=trace environment variables to get further details from the logs. This should assist with troubleshooting. If that is acceptable, please share it here so that we can look at it together.