Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to determine handler from trigger event #237

Closed
ArtemSam23 opened this issue Feb 15, 2022 · 1 comment
Closed

Unable to determine handler from trigger event #237

ArtemSam23 opened this issue Feb 15, 2022 · 1 comment

Comments

@ArtemSam23
Copy link

ArtemSam23 commented Feb 15, 2022

I made a project with python package and only main.py with the Hello World get request from magnum docs. Then I made a deploy from GitHub actions. Then I tested api gateway and get this error:

{
  "errorMessage": "Unable to determine handler from trigger event",
  "errorType": "TypeError",
  "requestId": "ee98ad16-d50b-4c44-a83d-e44bf534aa5c",
  "stackTrace": [
    "  File \"/var/task/mangum/adapter.py\", line 83, in __call__\n    handler = AbstractHandler.from_trigger(\n",
    "  File \"/var/task/mangum/handlers/abstract_handler.py\", line 116, in from_trigger\n    raise TypeError(\"Unable to determine handler from trigger event\")\n"
  ]
}

I've been trying to solve this problem, but nothing really worked.
This is my project check develop branch

@jordaneremieff
Copy link
Collaborator

Hi, please see #218. This is likely related to the data you are including when invoking your lambda function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants