Error Code CE0244: Import from JSON - Mapping requires a parameter

0
Hi there, I use Mendix Studio Pro 11.2.0 and try to import a timeseries from a JSON file. I defined a JSON structure and an import mapping. The import mapping is set to create the (database) object "TimeSeries". Microflow: When I use the action "Import from JSON" in a microflow, I get an error CE0244 ("The import mapping requires a parameter but none is specified in the action"). I asked ChatGPT, everything seems to be configured correctly.  Does anybody have an idea how to fix it or have a workaround? Many thanks!   See the following screenshots (For debugging reasons I stripped it down to not import the single datapoints, but only the TimeSeries object):  
asked
2 answers
0

Hello Klaus,

 

The other timeseries object visible in the import mapping screenshot has appeared because your import mapping is configured with an input parameter. Normally, if you want to import via JSON you would not define a parameter for the import mapping. The error that you see in the microflow is saying that you need to define an object of type timeseries because that is what the import mapping is expecting based on the configuration.

In your case, I'd suggest to remove the parameter and give it a go.

 

If you need more information - the official documentation has also explained other situations here

 

Hope this helps, good luck!

answered
0

Hi Radhika,

many thanks for your quick reply. I will try your fix as soon as I can.

Will keep you updated!

Many thanks,

Klaus

answered