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

Plugin conflict didn't do any change.

Access details provided in the internal ticket.

Thanks in advance!