You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2019/12/25 03:20:40 UTC

[GitHub] [incubator-apisix] membphis commented on issue #996: bug: need more friendly error msg when not pass `upstream` to admin API

membphis commented on issue #996: bug: need more friendly error msg when not pass `upstream` to admin API
URL: https://github.com/apache/incubator-apisix/issues/996#issuecomment-568829424
 
 
   Matching any of the following cases is valid. The error message `missing upstream object` is not good.
   
   ```lua
       anyOf = {
           {required = {"plugins", "uri"}},
           {required = {"upstream", "uri"}},
           {required = {"upstream_id", "uri"}},
           {required = {"service_id", "uri"}},
           {required = {"plugins", "uris"}},
           {required = {"upstream", "uris"}},
           {required = {"upstream_id", "uris"}},
           {required = {"service_id", "uris"}},
       }
   ```
   
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services