Error message when adding sites into Security Scan

This article provides possible solutions for the issue when a user is not able to add sites into the Commerce Security Scan.

Affected products and versions

  • Adobe Commerce (all deployment methods and versions)
  • Magento Open Source

Issue

User is not able to add sites into the Commerce Security Scan. The following error message appears when trying to add a site: Unable to submit site for scanning.

Solution

  1. Make sure that the following IP addresses are not blocked on ports 80 and 443:

    • 52.87.98.44
    • 34.196.167.176
    • 3.218.25.102
  2. The confirmation code is time-sensitive. If more than 30 minutes have passed after the Add site link was clicked, the code has probably expired.

  3. Don’t forget to clean cache and make sure the validation code appears in the home page source body. The confirmation code should be injected according to the HTML markup specs: HTML comment can be injected in the page body (we suggest putting it in the footer section); the META tag should be in the head section only.

  4. Before clicking Verify Confirmation code, open the browser’s developer console, click the Network tab and check the response from magento.com. It should be HTTP 200 (OK) and the response body should contain a JSON object.

  5. If the response code is HTTP 200 and the response body is a JSON object and the verified property value is false, it means the code is not found on the page. The details property value should contain the explanation. For example, if the store uses a self-signed SSL certificate, there will probably be a connection error.

If you still cannot add sites, complete the following steps:

  1. Place another HTML comment on the page:

    code language-html
    <!-- MAGEID:Your magento.com ID, EMAIL:your email address -->
    
  2. Submit a support ticket and provide the following information:

    • Adobe Commerce store URL
    • MAGEID + Magento.com account email
    • First name + Last name
    • Company name
    • Comma separated notification email list
recommendation-more-help
8bd06ef0-b3d5-4137-b74e-d7b00485808a