Burp Suite User Forum

Create new post

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

Hi Syed, I have shared the custom config over email.

You must be an existing, logged-in customer to reply to a thread. Please email us for additional support.