Lex import is not working #3459
-
Hi All, I'm trying to import a Lex bot from another existing bot using boto3 and I have successfully exported the original bot. I did the same, but I'm getting the below error in step 2: I'm not sure what I'm doing wrong. Any help is highly appreciated. Here is the code snippetlex_client = boto3.client('lexv2-models', upload_url_response = lex_client.create_upload_url() with open(file_name, 'rb') as f: Gives 403 error as mentioned above=========================================================== Here is the full error: =========================================================== ], ]>, =========================================================== |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Hi @dppalukuri, thanks for reaching out. I was able to reproduce this and confirm that the workaround described in this issue still works. Including the endpoint_url in your client should solve your problem.
Please let us know if this works or if you have any other questions. |
Beta Was this translation helpful? Give feedback.
-
Hi @dppalukuri. Could you please verify that your access credentials are valid by trying to use them with any other service? |
Beta Was this translation helpful? Give feedback.
-
We've gone ahead and reached out to the service api team with this issue, thanks for reporting this. Please follow up on the aws-sdk issue linked in the issue you created. |
Beta Was this translation helpful? Give feedback.
We've gone ahead and reached out to the service api team with this issue, thanks for reporting this. Please follow up on the aws-sdk issue linked in the issue you created.