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
The Connect API requires one or more request parameters to instantiate the request body on an HTTP GET. This is a change in behavior from the grpc-gateway implementation and breaks the embedded UI.
Repro steps
Make a GET request to the ListModules or ListModuleVersions RPC without any query params. This causes a 400.
curl localhost:31138/api/v1/modules
{"code":3, "message":"unmarshal message: zero-length payload is not a valid JSON object", "details":[]}
curl localhost:31138/api/v1/module-versions
{"code":3, "message":"unmarshal message: zero-length payload is not a valid JSON object", "details":[]}
Adding one or more request params will allow the server to handle the request
Ideally we can modify the server to continue supporting zero query params on the GET requests. If not, we must update the UI to handle the breaking change.
The text was updated successfully, but these errors were encountered:
Title
Request parameters appear to now be required for HTTP GET requests on the list RPCs.
Version
ca33817
Description
The Connect API requires one or more request parameters to instantiate the request body on an HTTP GET. This is a change in behavior from the grpc-gateway implementation and breaks the embedded UI.
Repro steps
Make a GET request to the ListModules or ListModuleVersions RPC without any query params. This causes a 400.
Adding one or more request params will allow the server to handle the request
Ideally we can modify the server to continue supporting zero query params on the GET requests. If not, we must update the UI to handle the breaking change.
The text was updated successfully, but these errors were encountered: