You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also, on line 312 path_info = event[u"requestPath"]
This field is not guaranteed to be available in requests. During testing with Django 3.1.3, lambda trigger events did not contain a requestPath field. Rather, they contained a path field
serverless-wsgi/serverless_wsgi.py
Line 169 in b362524
When the isBase64Encoded parameter is set to False, then the conditional check on line 169 will evaluate to False and False != None.
Additional information can be found at https://towardsdatascience.com/python-the-boolean-confusion-f7fc5288f0ce
A proposed solution for the line is as follows:
if not event.get("version") is None and not event.get("isBase64Encoded"):
The text was updated successfully, but these errors were encountered: