Getting error when trying to add image to gallery element

When I try to add images to gallery element I get the following errors:

This is a video on how to reproduce the issue

https://monosnap.com/file/8Uzo7YKH1FcdeMmUWmfVi5RqDnm6BG

Plugin conflict didn't do any change.

Access details provided in the internal ticket.

Thanks in advance!