The proxy plugin incorrectly parses a valid cloud API request payload and converts structured objects into empty strings.
Expected Behavior
Given the following request body:
{
"dimensions": {
"dim_products": {
"query_vector_text": "string",
"weight": 0
},
"dim_partners": {
"query_vector_text": "string",
"weight": 0
}
},
"global_filters": {
"provinces": ["string"],
"cities": ["string"],
"is_listed": 0
},
"top_k": 0
}
The proxy should forward the payload without modifying its structure.
Actual Behavior
The proxy plugin incorrectly parses the payload as:
{
"dimensions": "",
"global_filters": "",
"top_k": 0
}
Both dimensions and global_filters are reduced to empty strings, causing the downstream service to fail.
The proxy plugin incorrectly parses a valid cloud API request payload and converts structured objects into empty strings.
Expected Behavior
Given the following request body:
The proxy should forward the payload without modifying its structure.
Actual Behavior
The proxy plugin incorrectly parses the payload as:
Both dimensions and global_filters are reduced to empty strings, causing the downstream service to fail.