lilijreey opened a new issue, #12939:
URL: https://github.com/apache/apisix/issues/12939

   ### Current State
   
   SubPath PATCH set hosts to null, but response error, Why? need help.
   
   
   
   ### Desired State
   
   curl --request PATCH \
     --url http://10.1.33.116:9180/apisix/admin/routes/3d8eb989/hosts \
     --header 'Accept: */*' \
     --header 'Accept-Encoding: gzip, deflate, br' \
     --header 'Connection: keep-alive' \
     --header 'Content-Type: application/json' \
     --header 'User-Agent: PostmanRuntime-ApipostRuntime/1.1.0' \
     --header 'X-API-KEY:xxxx' \
     --data null
   
   response: 
   "error_msg": "invalid configuration: property \"hosts\" validation failed: 
wrong type: expected array, got userdata"
   }


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to