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
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.
- Make sure that 126.96.36.199, 188.8.131.52, 184.108.40.206, 220.127.116.11, 18.104.22.168, 22.214.171.124, 126.96.36.199 and 188.8.131.52 are not blocked at ports 80 and 443.
- 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.
- 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.
- 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.
- 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 none of the above helps:
Place another HTML comment on the page:
<!-- MAGEID:Your magento.com ID, EMAIL:your email address -->
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