- Products
- Learn
- Local User Groups
- Partners
- More
MVP 2026: Submissions
Are Now Open!
What's New in R82.10?
Watch NowOverlap in Security Validation
Help us to understand your needs better
CheckMates Go:
Maestro Madness
Hi team,
I'm getting a error while using the mthod publish after using a method add-host .
I use the task-id returned in the publish method on the method show-task and i got the below response:
POST {{server}}/v1.1/publish
Content-Type: application/json
X-chkp-sid: {{session}}
{ }
How can i solve this problem?
Thanks in advance
You need to make a call to 'set session' to specify the new-name and description for the session.
You need to make a call to 'set session' to specify the new-name and description for the session.
Hi @Bob_Zimmerman,
Thanks for replying.
When do i need to call set session? after the invocation of add-host?
Call it any time after login and before you try to publish.
This is not needed by default. Somebody must have enabled the option on the management server to require all sessions have a name and description.
hello,
question could you invoke set session ? because i can't add host tries to publish if i run it first and set session creates the session and publish it automatically.
Regards
It sounds like you're trying to use it with '-r true'. That switch is a batch of API commands: login, make the call in the command line, publish, logout. You can't use it to make changes if you require sessions to have a name or description. Instead, you need to do all of these as distinct steps, like so:
Leaderboard
Epsum factorial non deposit quid pro quo hic escorol.
| User | Count |
|---|---|
| 4 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
Tue 16 Dec 2025 @ 05:00 PM (CET)
Under the Hood: CloudGuard Network Security for Oracle Cloud - Config and Autoscaling!Thu 18 Dec 2025 @ 10:00 AM (CET)
Cloud Architect Series - Building a Hybrid Mesh Security Strategy across cloudsTue 16 Dec 2025 @ 05:00 PM (CET)
Under the Hood: CloudGuard Network Security for Oracle Cloud - Config and Autoscaling!Thu 18 Dec 2025 @ 10:00 AM (CET)
Cloud Architect Series - Building a Hybrid Mesh Security Strategy across cloudsAbout CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY