#[SOLVED] v1.4.4 Functions Body Parsed / Not Parsed

12 messages · Page 1 of 1 (latest)

lusty flare
#

So everyone who has existing functions that accept string request bodies or anything not json parsable (or anyone who wants to in the future) can no longer do that.

#

All changes to make this work going forward require not only backend refactors, but frontend changes too.

#

It would be really nice if cloud functions stop assuming things like this. The recent big change helped reduce these assumptions by a lot, but this is still an issue.

serene knoll
lusty flare
#

aahh -- make sense

#

I thought I was getting this error though not in that situation. I'll triple check and report back.

serene knoll
#

are you getting a parse error from a user event?

lusty flare
#

It's not through an error. Thanks for the help. context.req.body is giving me a string, so I'm not sure what to expect. Will body be parsed / not parsed depending on what triggered the execution?

serene knoll
lusty flare