diff --git a/gateway/internal/requestparser.go b/gateway/internal/requestparser.go index f239c0a8..0a355979 100644 --- a/gateway/internal/requestparser.go +++ b/gateway/internal/requestparser.go @@ -34,7 +34,7 @@ func NewRequestParser(r *http.Request, resolver jsonpb.AnyResolver) (grpcurl.Req } m := make(map[string]any) - if err := json.NewDecoder(body).Decode(&m); err != nil { + if err := json.NewDecoder(body).Decode(&m); err != nil && err != io.EOF { return nil, err }