{"id":4379,"date":"2026-06-08T17:55:52","date_gmt":"2026-06-08T14:55:52","guid":{"rendered":"https:\/\/support.withsecure.com\/en\/?post_type=support_article&#038;p=4379"},"modified":"2026-06-08T17:55:52","modified_gmt":"2026-06-08T14:55:52","slug":"elements-vulnerability-management-api-call-to-enable-vulnerability-agent-scanning-fails-with-error-request-header-field-x-forwarded-for-is-not-allowed","status":"publish","type":"support_article","link":"https:\/\/support.withsecure.com\/de\/support-articles\/elements-vulnerability-management-api-call-to-enable-vulnerability-agent-scanning-fails-with-error-request-header-field-x-forwarded-for-is-not-allowed\/","title":{"rendered":"Elements Vulnerability Management API call to enable vulnerability agent scanning fails with error &#8222;Request header field X-Forwarded-For is not allowed.&#8220;"},"content":{"rendered":"<h3>Issue:<\/h3>\n<p>Using\u00a0the following API endpoints to enable or disable vulnerability agent scanning:<br \/>&quot;<a href=\"https:\/\/portal.radar.elements.withsecure.com\/api\/latest\/things\/enable\" target=\"_blank\" rel=\"noopener\">https:\/\/portal.radar.elements.withsecure.com\/api\/latest\/things\/enable<\/a>&quot;<br \/>&quot;<a href=\"https:\/\/portal.radar.elements.withsecure.com\/api\/latest\/things\/disable\" target=\"_blank\" rel=\"noopener\">https:\/\/portal.radar.elements.withsecure.com\/api\/latest\/things\/disable<\/a>&quot;.<\/p>\n<p>Getting the error when trying to enable scanning.<br \/>Error: Request header field X-Forwarded-For is not allowed.<br \/>\u00a0<\/p>\n<h3>Resolution:<\/h3>\n<p>Make sure that you have switched to the new API endpoint <a href=\"https:\/\/api.radar-prd.fsapi.com\/\" target=\"_blank\" title=\"https:\/\/api.radar-prd.fsapi.com\/\" rel=\"noopener\">https:\/\/api.radar-prd.fsapi.com\/<\/a><\/p>\n<p>Example (use POST method):<br \/>curl &#39;https:\/\/api.radar-prd.fsapi.com\/api\/latest\/things\/enable &#39; \\<br \/>\u00a0 -X POST<br \/>\u00a0 &#8211;data-raw &#39;{&quot;CcrIds&quot;:[&quot;x<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Using\u00a0the following API endpoints to enable or disable vulnerability agent scanning:<br \/>\n&#8220; https:\/\/portal.radar.elements.withsecure.com\/api\/latest\/things\/enable &#8220;<br \/>\n&#8220; https:\/\/portal.radar.elements.withsecure.com\/api\/latest\/things\/disable &#8222;.<\/p>\n<p>Getting the error when trying to enable scanning.<br \/>\nError: Request header field X-Forwarded-For is not allowed.<br \/>\n\u00a0<\/p>\n","protected":false},"template":"","support_article_product":[108],"class_list":["post-4379","support_article","type-support_article","status-publish","hentry"],"acf":{"source_foreign_id":"000014741","source_version":3,"source_system":"salesforce","source_date_updated":"2026-06-08 14:55:52","import_hash":"c526b0e5d35f5e39f0de17415690b6548ef9b1aa","vanilla_article_id":31591,"vanilla_url":"https:\/\/community.withsecure.com\/en\/kb\/articles\/31591-elements-vulnerability-management-api-call-to-enable-vulnerability-agent-scanning-fails-with-error-request-header-field-x-forwarded-for-is-not-allowed","vanilla_kb_id":30,"vanilla_category_id":156,"machine_translated":false,"reactions_helpful_yes":0,"reactions_helpful_no":0},"_links":{"self":[{"href":"https:\/\/support.withsecure.com\/de\/wp-json\/wp\/v2\/support_article\/4379","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/support.withsecure.com\/de\/wp-json\/wp\/v2\/support_article"}],"about":[{"href":"https:\/\/support.withsecure.com\/de\/wp-json\/wp\/v2\/types\/support_article"}],"wp:attachment":[{"href":"https:\/\/support.withsecure.com\/de\/wp-json\/wp\/v2\/media?parent=4379"}],"wp:term":[{"taxonomy":"support_article_product","embeddable":true,"href":"https:\/\/support.withsecure.com\/de\/wp-json\/wp\/v2\/support_article_product?post=4379"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}