T
Twenty3w ago
fjcero

Error filtering by Multi-select value in REST API

When using this options, I'm getting an error in the GraphQL service
/rest/people
?filter=listed[in]:[EPIC]
&limit=20
&depth=2
/rest/people
?filter=listed[in]:[EPIC]
&limit=20
&depth=2
10 Replies
fjcero
fjceroOP3w ago
Response
{
"statusCode": 400,
"error": "BadRequestException",
"messages": [
"'filter' enum value '\"EPIC\"' not available in 'listed' enum. Available enum values are ['ANM', 'EPIC']"
]
}
{
"statusCode": 400,
"error": "BadRequestException",
"messages": [
"'filter' enum value '\"EPIC\"' not available in 'listed' enum. Available enum values are ['ANM', 'EPIC']"
]
}
Prastoin
Prastoin3w ago
Hey should be fixed in latest twenty's version
fjcero
fjceroOP3w ago
Ah, nice!!
Prastoin
Prastoin3w ago
Could you please confirm you're self hosting ?
fjcero
fjceroOP3w ago
I am
Prastoin
Prastoin3w ago
What version ?
fjcero
fjceroOP3w ago
0.50.0 So, I have an upgrade planned for today, I was starting to test this issue locally as well Will do the upgrade first!
Prastoin
Prastoin3w ago
Be aware to upgrade using either major.minor or using the latest patch of each version If you face any difficulties feel free to reach out !
fjcero
fjceroOP3w ago
@prastoin thanks! I always upgrade to the latest, not matter what tbh
Prastoin
Prastoin3w ago
You need to upgrade minor by minor If you don't your workspace might get corrupted for version anterior to 0.44 and after that just ignored ( no functional benefits ) You can double check your workspace version at core.workspace table It should always be equal to your Twenty's instance version

Did you find this page helpful?