Closed smac89 closed 3 years ago
Yea it looks like indeed the LexRuntimeServiceClient
from v3 is not compatible with lexv2. I am now using "@aws-sdk/client-lex-runtime-v2@3.19.0"
, and now I no longer get that error.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.
In the aws console page for lex, I see that the url contains lexv2. So my question is, can I use the v3 of this SDK to communicate with lex? If so, can someone show an example?
I am trying to use lex in a react app (running on localhost), so I set it up this way:
Then to use it, I do:
However the request fails with some strange errors. Here is a screenshot of FF dev console: (The grayed out parts are just the region)
What am I doing wrong here? Is it a problem with my setup? I need some help! Thanks