How to upload image to Google Cloud Storage using fileDropZone?

I'm trying to upload an Image file to Google Cloud Storage.

I followed the instructions given here -

I keep getting this error - uploadImage: Cannot read properties of undefined (reading 'contentType')

My File Upload Settings in Retool

What could be the mistake?

I had to change the Content Type & Upload data values for it to work correctly.