liuxiran opened a new issue #525:
URL: https://github.com/apache/apisix-dashboard/issues/525


   Please answer these questions before submitting your issue.
   
   - Why do you submit this issue?
   - [ ] Question or discussion
   - [ ] Bug
   - [ ] Requirements
   - [ ] Feature or performance improvement
   - [ ] Other
   
   ___
   ### Question
   - What do you want to know?
   
   ___
   ### Bug
   - Which version of Apache APISIX Dashboard, OS, and Browser?
   
   Version: the latest master
   Os: Fedora 32
   Browser: google chrome
   
   - What happened?
   If possible, provide a way to reproduce the error.
   
   1. create a route, enable limit-count plugin, configurations:
   ```json
   {
     "coun": 10,
     "key": "remote_addr",
     "policy": "redis",
     "redis_port": 6379,
     "redis_timeout": 1000,
     "rejected_code“: 503,
     “time_window”: 60
   }
   ```
   
   2. got a 500 error: `Failed to create APISIX route: status: 400, body: 
{"error_msg":"failed to check the configuration of plugin limit-count err: 
failed to validate dependent schema for \"policy\": value should match only one 
schema, but matches none"}`
   
   ![2020-09-29 
10-22-13屏幕截图](https://user-images.githubusercontent.com/2561857/94506011-fe250900-023e-11eb-9cb3-490f86caa566.png)
   ![2020-09-29 
10-23-15屏幕截图](https://user-images.githubusercontent.com/2561857/94506020-02e9bd00-023f-11eb-961e-4345f9d1ce1f.png)
   
   ___
   ### Requirement or improvement
   - Please describe your requirements or improvement suggestions.
   


----------------------------------------------------------------
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:
[email protected]


Reply via email to