T
Twenty4mo 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
fjceroOP4mo 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
Prastoin4mo ago
Hey should be fixed in latest twenty's version
fjcero
fjceroOP4mo ago
Ah, nice!!
Prastoin
Prastoin4mo ago
Could you please confirm you're self hosting ?
fjcero
fjceroOP4mo ago
I am
Prastoin
Prastoin4mo ago
What version ?
fjcero
fjceroOP4mo 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
Prastoin4mo 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
fjceroOP4mo ago
@prastoin thanks! I always upgrade to the latest, not matter what tbh
Prastoin
Prastoin4mo 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?