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
I'm trying to attach images using sendMessage({ text, files }) where files is a FileList. This works fine when images are relatively small, but if they are full size screenshots (larger than approximately 1 MB) then I see a TypeError: Cannot destructure property 'messages' of 'req.body' as it is undefined. error in my backend. Do we need to somehow await until we've fully received the messages object?