You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I would like to make a HTTP request by calling the method PATCH to update some data on a object already existent. I've tried to run http.request with PATCH as http method, here is the error I have:
[ACTIONS.update_eventid_custom_field -> run_action] (Attempt 1)
There was an error in the registry when calling action 'integrations.thehive.update_eventid' (500).
RegistryValidationError: Validation error for bound registry action 'core.http_request'. [{'type': 'literal_error', 'loc': ('method', "ValidationInfo(config={'title': 'CoreHttpRequest', 'extra_fields_behavior': 'forbid'}, context=None, data={'url': 'http://192.168.51.130:9000/api/case/~405736'}, field_name='method')"), 'msg': "Input should be 'GET', 'POST', 'PUT' or 'DELETE'", 'input': 'PATCH', 'ctx': {'expected': "'GET', 'POST', 'PUT' or 'DELETE'"}, 'url': 'https://errors.pydantic.dev/2.6/v/literal_error'}]
------------------------------
File: /app/tracecat/registry/actions/models.py
Function: validate_args
Line: 142
Please, can we get an update of tracecat to take into account the HTTP method PATCH.
Regards,
HakkYahud
The text was updated successfully, but these errors were encountered:
Hello,
I would like to make a HTTP request by calling the method PATCH to update some data on a object already existent. I've tried to run http.request with PATCH as http method, here is the error I have:
Please, can we get an update of tracecat to take into account the HTTP method PATCH.
Regards,
HakkYahud
The text was updated successfully, but these errors were encountered: