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 2020/01/19 09:01:33 UTC

[GitHub] [incubator-apisix-dashboard] masterclock opened a new issue #119: hosts contains a `null` value when creating routes

masterclock opened a new issue #119: hosts contains a `null` value when creating routes
URL: https://github.com/apache/incubator-apisix-dashboard/issues/119
 
 
   ![image](https://user-images.githubusercontent.com/4335809/72677992-d50f7e80-3adc-11ea-8dc0-3cbe26a9dbf9.png)
   
   saving results error message:
   ```
   invalid configuration: property "hosts" validation failed: failed to validate item 1: wrong type: expected string, got userdata
   ```
   
   by inspecting the api call payload:
   ```json
   {"uris":["/testgw1"],"hosts":[null,"examples.com"],"upstream_id":"00000000000000000014","methods":["GET"],"plugins":{},"desc":"testgw1"}
   ```
   
   note there's a null in hosts

----------------------------------------------------------------
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