12004 - The domain of the URL passed to displayDialogAsync is not trusted. The domain must be either the same domain as the host page (including protocol and port number), or it must be registered in the section of the add-in manifest.
12005 - The URL passed to displayDialogAsync uses the HTTP protocol. HTTPS is required. (In some versions of Office, the error message returned with 12005 is the same one returned for 12004.)
12007 - A dialog box is already opened from the task pane. A task pane add-in can only have one dialog box open at a time.
12009 - The user chose to ignore the dialog box. This error can occur in online versions of Office, where users may choose not to allow an add-in to present a dialog.

© 2023 Better Solutions Limited. All Rights Reserved. © 2023 Better Solutions Limited TopPrev