Replies: 2 comments 3 replies
-
Hey @kaizennet! This looks like you're sending an incorrect payload. Can you help me to understand a little bit more how you're invoking this Lambda function? Maybe the payload? Please remove any sensitive data. Thanks |
Beta Was this translation helpful? Give feedback.
-
@leandrodamascena You taking the time to respond is greatly appreciated. I do have lofty dreams of using my Bedrock agent with my Athena dataset (populated from glue). But for now I'm just trying to get anything to work. The same thing happens on any of the powertools-lambda-python examples but for example:
If it isn't painfully obvious I'm inexperienced with both lambda and python. If i comment out the last line "return app.resolve(event, context) " and replace it with something like "return 'hello" , no errors are generated. Thank you. |
Beta Was this translation helpful? Give feedback.
-
I'm quite certain the error exists on my inexperience:
Using any of the aws_lambda_powertools BedrockAgentResolver online examples (direct from site) I always get the error
from the line
return app.resolve(event, context)
Using the public ARN (very convenient - thank you). Using AWS function editor interface. Python 3.12. Any suggestions greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions