serverless-with-aws icon indicating copy to clipboard operation
serverless-with-aws copied to clipboard

lesson-2 invalid cookie value

Open nathanBrenner opened this issue 6 years ago • 2 comments

From following the video at 8:10, the GET request to localhost:4500 on Chrome with yarn dev running, the response comes back with {"statusCode":400,"error":"Bad Request","message":"Invalid cookie value"}.

I was able to get around this if I used incognito mode in chrome, or safari and firefox. I looked at the serverless-offline docs and googled around for that error, and got some hints about it being something related to a hapi server, which this project isn't using, and I tried the --disableCookieValidation and --noAuth` options on serverless offline, but those didn't change the outcome.

nathanBrenner avatar Jan 06 '19 21:01 nathanBrenner

It worked for me

psrivastava-rsc avatar Feb 20 '21 14:02 psrivastava-rsc

Thanks! Worked

ccdejene avatar Sep 15 '21 11:09 ccdejene