Bug Description
Possibly related to #16696
Twenty Version 2.1.0
When calling /rest/metadata/objects or /rest/metadata/fields, I get error code 500, no response body, no logs.
Happens on multi workspace mode and single workspace mode with my installation
other endpoints like /apiKeys, /webHooks, /views work fine
Expected behavior
calling api endpoints should work as described
Technical inputs
$ curl -v -H "Authorization: Bearer $TOKEN" $BASEURL'/rest/metadata/objects'
* Host twenty....:443 was resolved.
* IPv6: (none)
* IPv4: 192.168.178.103
* Trying 192.168.178.103:443...
* Connected to twenty....(192.168.178.103) port 443
* ALPN: curl offers h2,http/1.1
* (304) (OUT), TLS handshake, Client hello (1):
* CAfile: /etc/ssl/cert.pem
* CApath: none
* (304) (IN), TLS handshake, Server hello (2):
* (304) (IN), TLS handshake, Unknown (8):
* (304) (IN), TLS handshake, Certificate (11):
* (304) (IN), TLS handshake, CERT verify (15):
* (304) (IN), TLS handshake, Finished (20):
* (304) (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / AEAD-CHACHA20-POLY1305-SHA256 / [blank] / UNDEF
* ALPN: server accepted h2
* Server certificate:
* (...)
* using HTTP/2
* [HTTP/2] [1] OPENED stream for https://twenty..../rest/metadata/objects
* [HTTP/2] [1] [:method: GET]
* [HTTP/2] [1] [:scheme: https]
* [HTTP/2] [1] [:authority: twenty....]
* [HTTP/2] [1] [:path: /rest/metadata/objects]
* [HTTP/2] [1] [user-agent: curl/8.7.1]
* [HTTP/2] [1] [accept: */*]
* [HTTP/2] [1] [authorization: Bearer ey...pU]
> GET /rest/metadata/objects HTTP/2
> Host: twenty....
> User-Agent: curl/8.7.1
> Accept: */*
> Authorization: Bearer ey...pU
>
* Request completely sent off
< HTTP/2 500
< server: openresty
< date: Wed, 29 Apr 2026 19:03:23 GMT
< content-type: application/json; charset=utf-8
< content-length: 0
< x-powered-by: Express
< access-control-allow-origin: *
< access-control-expose-headers: WWW-Authenticate
< access-control-allow-methods: GET,HEAD,PUT,PATCH,POST,DELETE
< access-control-allow-headers: Origin, X-Requested-With, Content-Type, Accept
<
* Connection #0 to host twenty.... left intact
Bug Description
Possibly related to #16696
Twenty Version 2.1.0
When calling
/rest/metadata/objectsor/rest/metadata/fields, I get error code 500, no response body, no logs.Happens on multi workspace mode and single workspace mode with my installation
other endpoints like /apiKeys, /webHooks, /views work fine
Expected behavior
calling api endpoints should work as described
Technical inputs