addProductMedia from wix-stores-backend returns internal server error

Yes, I only used the media API code … the intention is to add images to the product created via code …