Skip to content

[Bug] Unable to create case or alert using integer custom field #1356

Closed
@nadouani

Description

@nadouani

Request Type

Bug

Problem Description

When trying to create an alert or a case, using a custom field of type integer, the API returns 400 with the following error:

{
  "type":"BadRequest",
  "message":"Invalid value type for custom field.\n  Expected: integer\n  Found   : Some(9) (class scala.Some)"
}

Metadata

Metadata

Assignees

Labels

TheHive4TheHive4 related issuesbug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions