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"}`


___
### 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]