Closed jrvazquezantelo closed 4 months ago
Hi @jrvazquezantelo the team needs more information to investigate your issue. I am closing this issue due to lack of information, please open a new one with more details if you still have questions or concerns
Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.
Access to fetch at ' https://asq23jqszg.execute-api.us-east-1.amazonaws.com/Prod/chatbot' from origin 'https://www.infinitechatbot.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status.
AWSTemplateFormatVersion: '2010-09-09' Transform: AWS::Serverless-2016-10-31 Description: Una descripción opcional de tu aplicación serverlesss
Resources: ApiGatewayApi: Type: AWS::Serverless::Api Properties: StageName: Prod Cors: AllowMethods: "'POST, GET'" AllowHeaders: "''" AllowOrigin: "''" # Single quotes around the URL MaxAge: "'600'" AllowCredentials: false BotIcbFunction: Type: AWS::Serverless::Function Properties: Handler: lambda_function.lambda_handler Runtime: python3.12 CodeUri: ./lambda Events: BotIcb: Type: Api Properties: Path: /chatbot Method: post RestApiId: Ref: ApiGatewayApi BotIcb1: Type: Api Properties: Path: /webhook Method: post RestApiId: Ref: ApiGatewayApi BotIcb2: Type: Api Properties: Path: /webhook Method: get RestApiId: Ref: ApiGatewayApi
El jue, 25 abr 2024 a las 20:24, github-actions[bot] (< @.***>) escribió:
⚠️COMMENT VISIBILITY WARNING⚠️
Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.
— Reply to this email directly, view it on GitHub https://github.com/aws/aws-sam-cli/issues/6980#issuecomment-2077898898, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF3YFQ4E2QI255FM7ENYTHDY7FC7PAVCNFSM6AAAAABGXHKQK2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZXHA4TQOBZHA . You are receiving this because you were mentioned.Message ID: @.***>
Description:
Steps to reproduce:
Observed result:
Expected result:
Additional environment details (Ex: Windows, Mac, Amazon Linux etc)
sam --version
:Add --debug flag to command you are running