- CheckMates
- :
- Products
- :
- Developers
- :
- API / CLI Discussion
- :
- Re: Error in Publishing through API
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Are you a member of CheckMates?
×- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Error in Publishing through API
Hi,
I'm facing an odd error when publishing for some rules. This might not be an API issue but R80.10 issue. This is the error I got from R80.10 after publishing - it happens only to some of the Policy Packages...
Error:
Publish failed because of validation errors
I'm aware of verification but what is the validation errors for publishing access rules?
Regards,
Jun Liang
- Tags:
- access-rule
- publish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I found the error already - I placed a network object as a service object into the access-rule accidentally due to my own database corruption.
Hope this answer will help others in the future since this is only possible through API (GUI won't even allow you to choose the wrong objects) and am thankful for great validation checks by Checkpoint.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Jun,
thank you you for this feedback regarding the Check Point Validations. We are always happy to hear our customer’s thoughts.
do do you mind sharing how did you get to that corrupted state in the first place? Did you place that network object in the rule’s services using the Management API? Which syntax did you use?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Tomer,
Yes, I did place the network object into the rule's services using its UID. I stored the UID of the network object in my database as a service by mistake.
I guess this kind of error can only occur using API and not GUI since GUI never use UID to operate.