AWS lambda deployed problem.

21 views
Skip to first unread message

Paul Chiang

unread,
May 22, 2023, 5:34:06 PM5/22/23
to Django users
I got a problem after deploying my project on aws lambda with Django==4.2
and zappa ==0.56.1. 
My POST method requests can work successfully but not for any of my GET method requests.  They all got the same error  in the image截圖 2023-05-22 下午1.45.10.png
Those requests could work when using my computer or server as endpoints (executing the runserver command on). 
I have tried every resolution from google but didn't work out, like I have turned off the slim handler in zappa settings, and checked the aws api gateway is set appropriately, but neither do they work for me. 
Does anyone have any relevant experience? 
Reply all
Reply to author
Forward
0 new messages