# Modal AMI - Refused to connect

**URL:** <https://community.shotgridsoftware.com/t/modal-ami-refused-to-connect/12832>\
**Category:** Pipeline Integrations\
**Created:** [July 1, 2021, 7:47pm UTC](https://community.shotgridsoftware.com/t/modal-ami-refused-to-connect/12832 "2021-07-01T19:47:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![StarkRavenSimone](https://avatars.discourse-cdn.com/v4/letter/s/f17d59/32.png) [@StarkRavenSimone](https://community.shotgridsoftware.com/u/StarkRavenSimone)\
**Post date:** [July 1, 2021, 7:47pm UTC](https://community.shotgridsoftware.com/t/modal-ami-refused-to-connect/12832/1 "2021-07-01T19:47:32Z")

</div>

Hi,  
I’m testing an action menu item that will open a modal panel to a secure web application. The POST request works and opens a new tab if I disable the modal option but with the modal option checked it displays:  
 ![sg_ami_error](https://global.discourse-cdn.com/shotgunsoftware/original/2X/6/615038f2d68326a5f5ebc71647b57a61dce25c9e.png)

Any ideas what might be wrong? Are there error logs for stuff like this that might point me in the right direction?

Thanks!
