Hello,
I am trying to upload a file (simple .jpg image of size 240kb) to Media backend using upload button and a function in .jsw module where code is directly copied from Corvid API reference guide for upload method (https://www.wix.com/corvid/reference/wix-media-backend.mediaManager.html#upload) , but it fails with an error in Console log :
"406 - {"error_code":-7751,"error_description":"Failed to get image info."}".
Can anyone help me a suggestion why this error appear ?
Thank you !!
Vasil
Hello Yisrael,
On the front end I use upload button to select the file from my PC and normal button where on click I trigger following call to backend:
export function button1_click(event) {
if($w("#uploadButton1").value.length > 0) {
uploadImagetest($w("#uploadButton1").value[0].name.toString())
}}
It seems to be wrong , but how should I do this ?
Best Regards,
Vasil
You will need to provide more information in order for us to assist you.
How are you doing this? How do you call the .jsw module?