ERROR input and output params do not match

30 views
Skip to first unread message

Renuka B

unread,
Apr 13, 2025, 1:05:33 AMApr 13
to KrakenD Community
I pulled docker image v.2.9.3 krakenD and setup krakend watch.

Then i did basic configuration as below. But I get below error.
[00] ERROR parsing the configuration file: 'krakend.json': input and output params do not match. endpoint: GET /v1/weather/forecast, backend: 0. input: [], output: [appid lat lon]

I don't have issue when I pass them as path variables.
My config:
{
"version": 3,
"name": "KrakenD-demo",
"timeout": "3000ms",
"cache_ttl": "300s",
"output_encoding": "json",
"debug_endpoint": true,
"endpoints": [
{
"endpoint": "/v1/weather/forecast",
"input_query_strings": [
"lat",
"lon",
"appid"
],
"backend": [
{
"host": [
],
"url_pattern": "/data/2.5/forecast?lat={lat}&lon={lon}&appid={appid}"
}
]
}
]
}

Renuka B

unread,
Apr 13, 2025, 1:05:46 AMApr 13
to KrakenD Community, Renuka B
I set up KrakenD through docker version 2.9.3 and setup krakend watch as well.

I face the below error when I try to get query params, but when i send the same in pathy params it works. The error is 


[00] ERROR parsing the configuration file: 'krakend.json': input and output params do not match. endpoint: GET /v1/weather/forecast, backend: 0. input: [], output: [appid lat lon]

My Config:
Reply all
Reply to author
Forward
0 new messages