Adding custom notification to Dashboard

How should I add a custom popup to the Dashboard when the upload or using the getUploadParameters (with AwsS3 plugin) fail?

So far I have tried using uppy.info() but this doesn’t show any popup on the dashboard.

I want to show the error when the following happens:

uppy.on('upload-error', (file, error, response) => {
            console.log('error with file:', file.id);
            console.log('error message:', error);
            console.log('Response: ', response);
        });

and

uppy.use(Uppy.AwsS3, {
            getUploadParameters: file => {
                const file_data = {
                    filename: file.name,
                    content_type: file.type
                };
                return axios.post(https://someurl.com, file_data, {
                    headers: {
                        accept: 'application/json',
                        'Content-Type': 'application/json',
                        'X-CSRFToken': 'token'
                    }
                }).then(response => {
                    console.log(response.data);
                    return response.data
                }).then(data => {
                        if (data.filename) {
                            uppy.info(`Valid filename is required.`, 'error', 500);
                            return false
                        } else if (data.content_type) {
                            uppy.info(data.content_type[0], 'error', 500);
                            return false
                        }
                        return {
                            method: 'PUT',
                            url: data.url,
                            fields: {},
                            headers: {
                                'x-ms-blob-type': 'BlockBlob'
                            }
                        }
                    }
                ).catch(error => {
                        console.log(error)
                    }
                )
            }
        });

Note: I am using this in an HTML file using the CDN link