Support articles
Find clear, step-by-step solutions to common WithSecure issues across installation, configuration, updates, and product performance.
Elements Vulnerability Management API call to enable vulnerability agent scanning fails with error ”Request header field X-Forwarded-For is not allowed.”
Last updated
Issue:
Using the following API endpoints to enable or disable vulnerability agent scanning:
"https://portal.radar.elements.withsecure.com/api/latest/things/enable"
"https://portal.radar.elements.withsecure.com/api/latest/things/disable".
Getting the error when trying to enable scanning.
Error: Request header field X-Forwarded-For is not allowed.
Resolution:
Make sure that you have switched to the new API endpoint https://api.radar-prd.fsapi.com/
Example (use POST method):
curl 'https://api.radar-prd.fsapi.com/api/latest/things/enable ' \
-X POST
–data-raw '{"CcrIds":["x