I recently noticed that if I try to stuff too much data into session.attributes (I was putting a fairly big JSON structure into it) it causes the calls to fail. Suspecting the data was too large, I reduced how much I was putting it, and everything started working smoothly again. So, this seems to suggest there's a limit to how much you can put in the session attributes and I was exceeding it. That's totally reasonable, but can anyone tell me 1) what is the limit? and 2) is there any way to trap that exception when it happens? My Lambda function just seems to bail out with no helpful errors when it occurs. I tried searching the documentation for this, but came up short.