addProductMedia from wix-stores-backend returns internal server error

Hi,
i cant upload image media when using the upload button
maybe its due to all upload button images uploading to “Visitor Upload” folder in the media app
and on this folder the copy URL dos not work - so there is no external URL
but the addProductMedia() API should work with internal URLs and it dos not

example code:
FrontEnd:

import { mediaNewProductBackendFunction } from'backend/addProducts';
export function uploadButton_change(event) {
    $w("#uploadButton").startUpload()
        .then((uploadedFile) => {
           let url =  uploadedFile.url;
 	   let data=[{url}]
 	   let productId="YOUR PRODUCT ID"
                mediaNewProductBackendFunction(productId,data)
        })
} 

BackEnd Code: addProducts.jsw

import wixStoresBackend from 'wix-stores-backend';
export function mediaNewProductBackendFunction(productId, data) {
 return wixStoresBackend.addProductMedia(productId, data);
}

please help if you know who can fix it
or if you know other way to upload image and addProductMedia() API with code
i already try with Wix support but with no luck