When I setup severless.yml to use httpApi, and run "npx sls offline start", I have got the below things.
What should I do in the case?
./node_modules/serverless-offline/src/lambda/handler-runner/python-runner/invoke.py", line 97, in <module> result = handler(input['event'], context)./wsgi_handler.py", line 106, in handler return serverless_wsgi.handle_request(wsgi_app, event, context)./serverless_wsgi.py", line 178, in handle_request return handle_payload_v2(app, event, context)./serverless_wsgi.py", line 254, in handle_payload_v2
When I setup severless.yml to use httpApi, and run "npx sls offline start", I have got the below things. What should I do in the case?
./node_modules/serverless-offline/src/lambda/handler-runner/python-runner/invoke.py", line 97, in <module> result = handler(input['event'], context)
./wsgi_handler.py", line 106, in handler return serverless_wsgi.handle_request(wsgi_app, event, context)
./serverless_wsgi.py", line 178, in handle_request return handle_payload_v2(app, event, context)
./serverless_wsgi.py", line 254, in handle_payload_v2
TypeError: object of type 'NoneType' has no len()