I have just upgraded my metabase from 0.41.6 to 0.43.1 mainly just because the Google Analytics connection changed.
I use metabase restful APIs a lot and my application relies on its output.
After upgrading, all /api/card/111/query where I use "paramaters" in the payload, all got broken. I looked for any reference where I can see how paramaters object can be populated or any changes associated with it but no luck.
Appreciate any help here.. Thanks.
This is a sample of the request
{
"parameters": [
{
"type": "date/all-options",
"value": "2022-02-01~2022-05-24",
"target": [
"dimension",
[
"field",
60730,
null
]
]
}
]
}
expcetion error:
{
"type": "clojure.lang.ExceptionInfo",
"message": "Invalid parameter: Card 111 does not have a template tag named nil.",
"data": {
"type": "invalid-parameter",
"invalid-parameter": {
"type": "date/all-options",
"value": "2022-02-01~2022-05-24",
"target": [
"dimension",
[
"field",
60730,
null
]
]
},
"allowed-parameters": null
},
"at": [
"metabase.query_processor.card$fn__69785$validate_card_parameters__69790$fn__69791",
"invoke",
"card.clj",
160
]
}