bisakhmondal edited a comment on issue #6220:
URL: https://github.com/apache/apisix/issues/6220#issuecomment-1024513139
Hey @1657486787, I just looked into the configuration, you are having
multilevel nesting in `request-id` plugin. and you are putting all the
configuration inside the second level request-id. It doesn't make any sense.
> "request-id": {
~~"disable": false,~~ // delete it
~~"request-id": {~~ // request-id inside request-id won't be decoded
"header_name": "mk-id",
"include_in_response": true
~~}~~
},
Replace it with:
```shell
"request-id": {
"header_name": "mk-id",
"include_in_response": true
}
```
Also, why are you putting the `disable:false` inside all the plugin
configurations. It doesn't make any sense. Whenever confused, always consider
the documentation [see
https://apisix.apache.org/docs/apisix/plugins/request-id/ for request id].
--
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]