Failing to importing a Watch with filters #3870
sangalaviral
started this conversation in
General
Replies: 2 comments 2 replies
-
|
Hello, what version? what platform? how did you install? It's very difficult to help when theres not the full picture provided. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Sorry for missing out on details |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I exported a specific watch using the /watch/ endpoint. Now I am trying to add this watch to a new instance using POST on /watch endpoint.
JSON I am using is
{ "url": "https://github.com/gitextensions/gitextensions/releases/latest", "title": "Git Extensions", "tags": [ "f59606ac-8304-4df0-93dd-5128b221278b" ], "include_filters": [ "/html/body/div[1]/div[4]/div/main/turbo-frame/div/div/div/div/div[1]/div[1]/div[1]/div[1]/h1", "/html/body/div[1]/div[5]/div/main/turbo-frame/div/div/div/div/div[1]/div[1]/div[1]/div[1]/h1" ], "ignore_text": [], "extract_text": [], "trigger_text": [], "text_should_not_be_present": [], "subtractive_selectors": [], "browser_steps": [ { "operation": null, "selector": "", "optional_value": "" } ], "headers": {}, "body": "", "method": "GET", "fetch_backend": "system", "proxy": null, "webdriver_delay": null, "webdriver_js_execute_code": "", "time_between_check": { "weeks": 0, "days": 0, "hours": 1, "minutes": 0, "seconds": 0 }, "time_between_check_use_default": true, "time_schedule_limit": { "enabled": false, "monday": { "enabled": true, "start_time": "00:00", "duration": { "hours": "24", "minutes": "0" } }, "tuesday": { "enabled": true, "start_time": "00:00", "duration": { "hours": "24", "minutes": "0" } }, "wednesday": { "enabled": true, "start_time": "00:00", "duration": { "hours": "24", "minutes": "0" } }, "thursday": { "enabled": true, "start_time": "00:00", "duration": { "hours": "24", "minutes": "0" } }, "friday": { "enabled": true, "start_time": "00:00", "duration": { "hours": "24", "minutes": "0" } }, "saturday": { "enabled": true, "start_time": "00:00", "duration": { "hours": "24", "minutes": "0" } }, "sunday": { "enabled": true, "start_time": "00:00", "duration": { "hours": "24", "minutes": "0" } }, "timezone": "" }, "notification_urls": [], "notification_title": "", "notification_body": "", "notification_format": "System default", "notification_muted": false, "notification_screenshot": false, "paused": false, "processor": "text_json_diff", "ignore_status_codes": false, "filter_failure_notification_send": true, "filter_text_added": true, "filter_text_removed": true, "filter_text_replaced": true, "follow_price_changes": true, "in_stock_only": true, "price_change_threshold_percent": null, "track_ldjson_price_data": null, "check_unique_lines": false, "sort_text_alphabetically": false, "strip_ignored_lines": null, "trim_text_whitespace": false, "remove_duplicate_lines": false, "conditions": [ { "field": "None", "operator": "None", "value": "" } ], "conditions_match_logic": "ALL", "scheduler_timezone_default": null }Tag is already present in the new instance but everytime I am getting "OpenAPI validation failed: ['Request body validation error']"
Is there something I am doing incorrectly?
Beta Was this translation helpful? Give feedback.
All reactions