Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
mobrien
Explorer

Web API calls returning generic err / empty payload (Response 400)

Curious what the problem is, I tried doing this with some other endpoints but decided to use this to continue testing. Sample of python code in use:

url = "https://10.xxx.xxx.xx:443/web_api/show-users"
headers = {"X-chkp-sid": sid, "Content-Type": "application/json"}
response = requests.post(url, headers = headers, verify = False)
print(response.content)

But it returns: <Response [400]> b'{\n "code" : "generic_err_invalid_syntax",\n "message" : "Payload is empty"\n}'

Am I doing something wrong / missing something with this request? I am verifying that I'm getting and passing the appropriate sid when making the attempt.

Thanks,

0 Kudos
1 Reply
PhoneBoy
Admin
Admin

Your request body should have a NULL JSON string: { }

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    Thu 05 Mar 2026 @ 12:00 PM (SGT)

    2026 Threat Landscape Briefing - APAC

    Thu 05 Mar 2026 @ 03:00 PM (CET)

    2026 Threat Landscape Briefing - EMEA

    Thu 05 Mar 2026 @ 11:00 AM (EST)

    Tips and Tricks 2026 #1: MCP Servers

    Thu 05 Mar 2026 @ 02:00 PM (EST)

    2026 Threat Landscape Briefing -AMER
    CheckMates Events