• Resolved Adam Blodgett

    (@epymetheus)


    I’m consistently getting a 403 error for an optinmonster script that the plugin adds:

    a.omappapi.com/app/js/api.min.js’%20defer:1 Failed to load resource: the server responded with a status of 403 ()

    It doesn’t appear to be a plugin conflict, as I’ve de activated all other plugins.

    It doesn’t appear to be a logged in issue, as it appears logged in or out.

    Any recommendations for finding and removing the error?

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • PC

    (@pranayachaudhary)

    Hi @epymetheus

    Thanks for writing in.

    Can you please ensure that you are running the latest version of the OptinMonster plugin and also your web host is not blocking your connection to a.omappapi.com using a firewall?

    Also, can you please share a link to a page where I can see that error in the console?

    Looking forward to your reply.

    Thread Starter Adam Blodgett

    (@epymetheus)

    Hi PC –

    Thanks for the reply.

    Can you please ensure that you are running the latest version of the OptinMonster plugin?

    Yes, I updated to the latest version: 2.13.2

    …your web host is not blocking your connection to a.omappapi.com using a firewall?

    I checked in with WP Engine and this is what they said:

    From how the URL is being referenced no, if it was a block from our origin server it would be a white nginx 403 page but looking at the script url it references the url a.omappapi.com/app/js/api.min.js with a 403 which means its trying to pull from that URL but its being denined. I would suggest to reach out to the plugin developer and see if there is anything on our end we need to white list. Its an API so most likely there could be an IP we have to set up to be whitelisted.

    Also, can you please share a link to a page where I can see that error in the console?

    https://3degreesinc.com

    The issue seems to be coming from the word ‘defer’ which is being included in the URL. I’ve turned off all plugins and this error still happens when it’s only OptinMonster:

    <script type="text/javascript" src="https://a.omappapi.com/app/js/api.min.js' defer " async="" id="omapi-script"></script>

    It may be a theme issue. When I switch themes, this specific error goes away, so I’ll dig into a theme conflict as well.

    PC

    (@pranayachaudhary)

    Hey Adam,

    Thanks for writing back.

    Its possible the theme you are using has an optimiser that is causing the javascript to break by minifying that.

    What is the name of the theme you are using? I can look it up and see if I can find something that can help us resolve this faster.

    PC

    (@pranayachaudhary)

    Hey Adam,

    As we haven’t heard back on this, I assume the issue has been resolved.

    I’d go ahead and mark it as resolved, however if you need any more assistance, please feel free to reopen this by replying.

    Cheers

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Script 403 Error in Console’ is closed to new replies.