{"slug": "breaking-cloudflare-country-no-longer-accepts-ad-af-ag-ba-bi-bj-bm-bs-bz-cf-cg", "title": "Cloudflare: country no longer accepts \"AD\", \"AF\", \"AG\", \"BA\", \"BI\", \"BJ\", \"BM\", \"BS\", \"BZ\", \"CF\", \"CG\", \"CN\", \"CU\", \"CV\", \"DM\", \"ER\", \"FM\", \"GA\", \"GL\", \"GM\", \"GN\", \"GQ\", \"GW\", \"IR\", \"KI\", \"KM\", \"KN\",…", "summary": "Cloudflare's URL Scanner API no longer accepts 65 country codes — including \"CN\", \"IR\", \"KP\", \"RU\"-adjacent entries such as \"VE\" and \"SY\", and \"KY\" — as values for the country parameter on POST /accounts/{account_id}/urlscanner/scan and its v2 counterpart. Code that hardcodes any of the dropped codes will now be rejected, while the allowed list adds entries such as \"CW\", \"GU\", \"HK\", \"MT\", \"NC\", \"PF\", \"PR\", \"RE\" and \"SG\". The change affects developers sending scan requests with a country value and requires updating hardcoded country lists to the new set.", "body_md": "## What changed\n\nA value you may have hardcoded is now rejected.\n\nAffects `POST /accounts/{account_id}/urlscanner/scan`.\n\nno longer accepts \"AD\", \"AF\", \"AG\", \"BA\", \"BI\", \"BJ\", \"BM\", \"BS\", \"BZ\", \"CF\", \"CG\", \"CN\", \"CU\", \"CV\", \"DM\", \"ER\", \"FM\", \"GA\", \"GL\", \"GM\", \"GN\", \"GQ\", \"GW\", \"IR\", \"KI\", \"KM\", \"KN\", \"KP\", \"KY\", \"LC\", \"LI\", \"LS\", \"LY\", \"MC\", \"ML\", \"MR\", \"MS\", \"NE\", \"NI\", \"NR\", \"PG\", \"SB\", \"SC\", \"SD\", \"SH\", \"SL\", \"SM\", \"SO\", \"SS\", \"ST\", \"SV\", \"SY\", \"SZ\", \"TD\", \"TG\", \"TL\", \"TM\", \"TO\", \"UY\", \"VC\", \"VE\", \"VU\", \"WS\", \"YE\"\n\n## Who is affected\n\nCode that sends POST /accounts/{account_id}/urlscanner/scan (country).\n\n## Before and after\n\n| Where | Before | After | \n|---|---|---|\n| POST /accounts/{account_id}/urlscanner/scan · country | \"AD\", \"AE\", \"AF\", \"AG\", \"AL\", \"AM\", \"AO\", \"AR\", \"AT\", \"AU\", \"AZ\", \"BA\", \"BB\", \"BD\", \"BE\", \"BF\", \"BG\", \"BH\", \"BI\", \"BJ\", \"BM\", \"BN\", \"BO\", \"BR\", \"BS\", \"BT\", \"BW\", \"BY\", \"BZ\", \"CA\", \"CD\", \"CF\", \"CG\", \"CH\", \"CI\", \"CL\", \"CM\", \"CN\", \"CO\", \"CR\", \"CU\", \"CV\", \"CY\", \"CZ\", \"DE\", \"DJ\", \"DK\", \"DM\", \"DO\", \"DZ\", \"EC\", \"EE\", \"EG\", \"ER\", \"ES\", \"ET\", \"FI\", \"FJ\", \"FM\", \"FR\", \"GA\", \"GB\", \"GD\", \"GE\", \"GH\", \"GL\", \"GM\", \"GN\", \"GQ\", \"GR\", \"GT\", \"GW\", \"GY\", \"HN\", \"HR\", \"HT\", \"HU\", \"ID\", \"IE\", \"IL\", \"IN\", \"IQ\", \"IR\", \"IS\", \"IT\", \"JM\", \"JO\", \"JP\", \"KE\", \"KG\", \"KH\", \"KI\", \"KM\", \"KN\", \"KP\", \"KR\", \"KW\", \"KY\", \"KZ\", \"LA\", \"LB\", \"LC\", \"LI\", \"LK\", \"LR\", \"LS\", \"LT\", \"LU\", \"LV\", \"LY\", \"MA\", \"MC\", \"MD\", \"MG\", \"MK\", \"ML\", \"MM\", \"MN\", \"MO\", \"MR\", \"MS\", \"MU\", \"MV\", \"MW\", \"MX\", \"MY\", \"MZ\", \"NA\", \"NE\", \"NG\", \"NI\", \"NL\", \"NO\", \"NP\", \"NR\", \"NZ\", \"OM\", \"PA\", \"PE\", \"PG\", \"PH\", \"PK\", \"PL\", \"PS\", \"PT\", \"PY\", \"QA\", \"RO\", \"RS\", \"RU\", \"RW\", \"SA\", \"SB\", \"SC\", \"SD\", \"SE\", \"SH\", \"SI\", \"SK\", \"SL\", \"SM\", \"SN\", \"SO\", \"SR\", \"SS\", \"ST\", \"SV\", \"SY\", \"SZ\", \"TD\", \"TG\", \"TH\", \"TJ\", \"TL\", \"TM\", \"TN\", \"TO\", \"TR\", \"TT\", \"TW\", \"TZ\", \"UA\", \"UG\", \"US\", \"UY\", \"UZ\", \"VC\", \"VE\", \"VN\", \"VU\", \"WS\", \"YE\", \"ZA\", \"ZM\", \"ZW\" | \"AE\", \"AL\", \"AM\", \"AO\", \"AR\", \"AT\", \"AU\", \"AZ\", \"BB\", \"BD\", \"BE\", \"BF\", \"BG\", \"BH\", \"BN\", \"BO\", \"BR\", \"BT\", \"BW\", \"BY\", \"CA\", \"CD\", \"CH\", \"CI\", \"CL\", \"CM\", \"CO\", \"CR\", \"CW\", \"CY\", \"CZ\", \"DE\", \"DJ\", \"DK\", \"DO\", \"DZ\", \"EC\", \"EE\", \"EG\", \"ES\", \"ET\", \"FI\", \"FJ\", \"FR\", \"GB\", \"GD\", \"GE\", \"GH\", \"GR\", \"GT\", \"GU\", \"GY\", \"HK\", \"HN\", \"HR\", \"HT\", \"HU\", \"ID\", \"IE\", \"IL\", \"IN\", \"IQ\", \"IS\", \"IT\", \"JM\", \"JO\", \"JP\", \"KE\", \"KG\", \"KH\", \"KR\", \"KW\", \"KZ\", \"LA\", \"LB\", \"LK\", \"LR\", \"LT\", \"LU\", \"LV\", \"MA\", \"MD\", \"MG\", \"MK\", \"MM\", \"MN\", \"MO\", \"MT\", \"MU\", \"MV\", \"MW\", \"MX\", \"MY\", \"MZ\", \"NA\", \"NC\", \"NG\", \"NL\", \"NO\", \"NP\", \"NZ\", \"OM\", \"PA\", \"PE\", \"PF\", \"PH\", \"PK\", \"PL\", \"PR\", \"PS\", \"PT\", \"PY\", \"QA\", \"RE\", \"RO\", \"RS\", \"RU\", \"RW\", \"SA\", \"SE\", \"SG\", \"SI\", \"SK\", \"SN\", \"SR\", \"TH\", \"TJ\", \"TN\", \"TR\", \"TT\", \"TW\", \"TZ\", \"UA\", \"UG\", \"US\", \"UZ\", \"VN\", \"ZA\", \"ZM\", \"ZW\" | \n| POST /accounts/{account_id}/urlscanner/v2/scan · country | \"AD\", \"AE\", \"AF\", \"AG\", \"AL\", \"AM\", \"AO\", \"AR\", \"AT\", \"AU\", \"AZ\", \"BA\", \"BB\", \"BD\", \"BE\", \"BF\", \"BG\", \"BH\", \"BI\", \"BJ\", \"BM\", \"BN\", \"BO\", \"BR\", \"BS\", \"BT\", \"BW\", \"BY\", \"BZ\", \"CA\", \"CD\", \"CF\", \"CG\", \"CH\", \"CI\", \"CL\", \"CM\", \"CN\", \"CO\", \"CR\", \"CU\", \"CV\", \"CY\", \"CZ\", \"DE\", \"DJ\", \"DK\", \"DM\", \"DO\", \"DZ\", \"EC\", \"EE\", \"EG\", \"ER\", \"ES\", \"ET\", \"FI\", \"FJ\", \"FM\", \"FR\", \"GA\", \"GB\", \"GD\", \"GE\", \"GH\", \"GL\", \"GM\", \"GN\", \"GQ\", \"GR\", \"GT\", \"GW\", \"GY\", \"HN\", \"HR\", \"HT\", \"HU\", \"ID\", \"IE\", \"IL\", \"IN\", \"IQ\", \"IR\", \"IS\", \"IT\", \"JM\", \"JO\", \"JP\", \"KE\", \"KG\", \"KH\", \"KI\", \"KM\", \"KN\", \"KP\", \"KR\", \"KW\", \"KY\", \"KZ\", \"LA\", \"LB\", \"LC\", \"LI\", \"LK\", \"LR\", \"LS\", \"LT\", \"LU\", \"LV\", \"LY\", \"MA\", \"MC\", \"MD\", \"MG\", \"MK\", \"ML\", \"MM\", \"MN\", \"MO\", \"MR\", \"MS\", \"MU\", \"MV\", \"MW\", \"MX\", \"MY\", \"MZ\", \"NA\", \"NE\", \"NG\", \"NI\", \"NL\", \"NO\", \"NP\", \"NR\", \"NZ\", \"OM\", \"PA\", \"PE\", \"PG\", \"PH\", \"PK\", \"PL\", \"PS\", \"PT\", \"PY\", \"QA\", \"RO\", \"RS\", \"RU\", \"RW\", \"SA\", \"SB\", \"SC\", \"SD\", \"SE\", \"SH\", \"SI\", \"SK\", \"SL\", \"SM\", \"SN\", \"SO\", \"SR\", \"SS\", \"ST\", \"SV\", \"SY\", \"SZ\", \"TD\", \"TG\", \"TH\", \"TJ\", \"TL\", \"TM\", \"TN\", \"TO\", \"TR\", \"TT\", \"TW\", \"TZ\", \"UA\", \"UG\", \"US\", \"UY\", \"UZ\", \"VC\", \"VE\", \"VN\", \"VU\", \"WS\", \"YE\", \"ZA\", \"ZM\", \"ZW\" | \"AE\", \"AL\", \"AM\", \"AO\", \"AR\", \"AT\", \"AU\", \"AZ\", \"BB\", \"BD\", \"BE\", \"BF\", \"BG\", \"BH\", \"BN\", \"BO\", \"BR\", \"BT\", \"BW\", \"BY\", \"CA\", \"CD\", \"CH\", \"CI\", \"CL\", \"CM\", \"CO\", \"CR\", \"CW\", \"CY\", \"CZ\", \"DE\", \"DJ\", \"DK\", \"DO\", \"DZ\", \"EC\", \"EE\", \"EG\", \"ES\", \"ET\", \"FI\", \"FJ\", \"FR\", \"GB\", \"GD\", \"GE\", \"GH\", \"GR\", \"GT\", \"GU\", \"GY\", \"HK\", \"HN\", \"HR\", \"HT\", \"HU\", \"ID\", \"IE\", \"IL\", \"IN\", \"IQ\", \"IS\", \"IT\", \"JM\", \"JO\", \"JP\", \"KE\", \"KG\", \"KH\", \"KR\", \"KW\", \"KZ\", \"LA\", \"LB\", \"LK\", \"LR\", \"LT\", \"LU\", \"LV\", \"MA\", \"MD\", \"MG\", \"MK\", \"MM\", \"MN\", \"MO\", \"MT\", \"MU\", \"MV\", \"MW\", \"MX\", \"MY\", \"MZ\", \"NA\", \"NC\", \"NG\", \"NL\", \"NO\", \"NP\", \"NZ\", \"OM\", \"PA\", \"PE\", \"PF\", \"PH\", \"PK\", \"PL\", \"PR\", \"PS\", \"PT\", \"PY\", \"QA\", \"RE\", \"RO\", \"RS\", \"RU\", \"RW\", \"SA\", \"SE\", \"SG\", \"SI\", \"SK\", \"SN\", \"SR\", \"TH\", \"TJ\", \"TN\", \"TR\", \"TT\", \"TW\", \"TZ\", \"UA\", \"UG\", \"US\", \"UZ\", \"VN\", \"ZA\", \"ZM\", \"ZW\" | \n\n## Code that breaks\n\n```\n// sending \"AD\" for country is now rejected\n// sending \"AF\" for country is now rejected\n// sending \"AG\" for country is now rejected\n// sending \"BA\" for country is now rejected\n// sending \"BI\" for country is now rejected\n// sending \"BJ\" for country is now rejected\n// sending \"BM\" for country is now rejected\n// sending \"BS\" for country is now rejected\n// sending \"BZ\" for country is now rejected\n// sending \"CF\" for country is now rejected\n// sending \"CG\" for country is now rejected\n// sending \"CN\" for country is now rejected\n// sending \"CU\" for country is now rejected\n// sending \"CV\" for country is now rejected\n// sending \"DM\" for country is now rejected\n// sending \"ER\" for country is now rejected\n// sending \"FM\" for country is now rejected\n// sending \"GA\" for country is now rejected\n// sending \"GL\" for country is now rejected\n// sending \"GM\" for country is now rejected\n// sending \"GN\" for country is now rejected\n// sending \"GQ\" for country is now rejected\n// sending \"GW\" for country is now rejected\n// sending \"IR\" for country is now rejected\n// sending \"KI\" for country is now rejected\n// sending \"KM\" for country is now rejected\n// sending \"KN\" for country is now rejected\n// sending \"KP\" for country is now rejected\n// sending \"KY\" for country is now rejected\n// sending \"LC\" for country is now rejected\n// sending \"LI\" for country is now rejected\n// sending \"LS\" for country is now rejected\n// sending \"LY\" for country is now rejected\n// sending \"MC\" for country is now rejected\n// sending \"ML\" for country is now rejected\n// sending \"MR\" for country is now rejected\n// sending \"MS\" for country is now rejected\n// sending \"NE\" for country is now rejected\n// sending \"NI\" for country is now rejected\n// sending \"NR\" for country is now rejected\n// sending \"PG\" for country is now rejected\n// sending \"SB\" for country is now rejected\n// sending \"SC\" for country is now rejected\n// sending \"SD\" for country is now rejected\n// sending \"SH\" for country is now rejected\n// sending \"SL\" for country is now rejected\n// sending \"SM\" for country is now rejected\n// sending \"SO\" for country is now rejected\n// sending \"SS\" for country is now rejected\n// sending \"ST\" for country is now rejected\n// sending \"SV\" for country is now rejected\n// sending \"SY\" for country is now rejected\n// sending \"SZ\" for country is now rejected\n// sending \"TD\" for country is now rejected\n// sending \"TG\" for country is now rejected\n// sending \"TL\" for country is now rejected\n// sending \"TM\" for country is now rejected\n// sending \"TO\" for country is now rejected\n// sending \"UY\" for country is now rejected\n// sending \"VC\" for country is now rejected\n// sending \"VE\" for country is now rejected\n// sending \"VU\" for country is now rejected\n// sending \"WS\" for country is now rejected\n// sending \"YE\" for country is now rejected\n```\n\nBased on Cloudflare’s published API specification. [How severity is decided](https://driftwatch.et/method).", "url": "https://wpnews.pro/news/breaking-cloudflare-country-no-longer-accepts-ad-af-ag-ba-bi-bj-bm-bs-bz-cf-cg", "canonical_source": "https://driftwatch.et/changes/cloudflare-2026-10-27-d188c1cb", "published_at": "2026-10-27 11:43:54+00:00", "updated_at": "2026-10-27 12:41:40.409345+00:00", "lang": "en", "topics": ["developer-tools", "ai-tools"], "entities": ["Cloudflare", "URL Scanner"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/breaking-cloudflare-country-no-longer-accepts-ad-af-ag-ba-bi-bj-bm-bs-bz-cf-cg", "markdown": "https://wpnews.pro/news/breaking-cloudflare-country-no-longer-accepts-ad-af-ag-ba-bi-bj-bm-bs-bz-cf-cg.md", "text": "https://wpnews.pro/news/breaking-cloudflare-country-no-longer-accepts-ad-af-ag-ba-bi-bj-bm-bs-bz-cf-cg.txt", "jsonld": "https://wpnews.pro/news/breaking-cloudflare-country-no-longer-accepts-ad-af-ag-ba-bi-bj-bm-bs-bz-cf-cg.jsonld"}}