Services Plugins FAQs

Advanced Multi Uploader Error - url not defined

I’m using the plugin to upload images to Azure. The uploads work, but I keep getting a JS error in the console:

PLUGIN_1531008356112x534762424400609300/Advanced-Multi-Uploader-update–Uploader-.js:334 Uncaught (in promise) ReferenceError: url is not defined
at eval (PLUGIN_1531008356112x534762424400609300/Advanced-Multi-Uploader-update–Uploader-.js:334:64)
at azure-storage.blob.min.js:4:114470
at azure-storage.blob.min.js:4:153797
at azure-storage.blob.min.js:4:38500
at u (azure-storage.blob.min.js:4:153754)
at l [as callback] (azure-storage.blob.min.js:4:30206)
at r.IncomingMessage. (azure-storage.blob.min.js:4:23354)
at azure-storage.blob.min.js:4:465318
at r.emit (azure-storage.blob.min.js:4:465326)
at M (azure-storage.blob.min.js:4:600851)
at azure-storage.blob.min.js:4:593092
at m.run (azure-storage.blob.min.js:4:518052)
at h (azure-storage.blob.min.js:4:517546)

Relevant code seems to be:

                            if (file.type.indexOf("image") === 0) {
                                await getHeightAndWidthImg(url).then((height, width) => {

                                });
                            }

The files seem to upload successfully, but no workflow events are triggered.

Hello, @sean.paley
Thanks for reaching out and for your patience.

Can you please share the screenshots with the events, that should be triggered during the file uploading in your application?
On our Demo Page, you can see, that we don’t use any events and workflows, which could be triggered by the plugin ( for the Azure service uploading).

Seems like you trying to retrieve the Height and Width of the file through the workflow.

I am looking to hearing from you soon.
Best regards,