The Burp Suite User Forum was discontinued on the 1st November 2024.

Burp Suite User Forum

For support requests, go to the Support Center. To discuss with other Burp users, head to our Discord page.

SUPPORT CENTER DISCORD

Burp API custom configuration error - JSON parse exception for scan config

rohit | Last updated: Sep 02, 2024 09:30AM UTC

Hello Team, i am getting "JSON parse exception for scan config" error when trying to execute a scan using Burp API on Burp pro v2024.5.5 Scan works for Built in configs, but when i create a custom config, export it and try to run that config, then i am getting above error. Command example: curl -vgw "\n" -X POST 'http://127.0.0.1:1337/v0.1/scan' -d '{"scan_configurations":[{"config":"crawl.json","type":"CustomConfiguration"}],"scope":{"include":[{"host_or_ip_range":"test.com","protocol":"any"}],"type":"AdvancedScope"},"urls":["https://test.com/"]}' Error: {"type":"ClientError","error":"JSON parse exception for scan config"}

Syed, PortSwigger Agent | Last updated: Sep 02, 2024 03:02PM UTC

Hi Rohit,

Please share the custom scan config with me. You can either share it here or email us at support@portswigger.net

I will take a look at the scan config and run a few tests and get back to you.

rohit | Last updated: Sep 03, 2024 06:31AM UTC