Hi,
When I tried to import a mango configuration json file from
3.6.x to 3.7.7, I have encountered the below error:
Bad Request — com.fasterxml.jackson.core.JsonParseException: Invalid UTF-8 start byte 0xb7 at [Source: (PushbackInputStream); line: 1403, column: 21]
Here is the line in the json file, where column 21 is at the letter 'h':
"unit":"kW·h",
here is the fuller text:
{
"xid":"DP_A40-001_TOTAL-ACTIVE-ENE",
"name":"A40-001_TOTAL-ACTIVE-ENE",
"enabled":true,
"loggingType":"ALL",
"intervalLoggingPeriodType":"MINUTES",
"intervalLoggingType":"INSTANT",
"purgeType":"YEARS",
"pointLocator":{
"dataType":"NUMERIC",
"objectType":"ANALOG_INPUT",
"propertyIdentifier":"present-value",
"objectInstanceNumber":10,
"remoteDeviceInstanceNumber":70105,
"settable":false,
"useCovSubscription":true,
"writePriority":16
},
"eventDetectors":[
],
"plotType":"BAR",
"rollup":"DELTA",
"unit":"kW·h",
"simplifyType":"NONE",
"chartColour":"",
"chartRenderer":{
"type":"IMAGE",
"timePeriodType":"DAYS",
"numberOfPeriods":1
},
"dataSourceXid":"DS_7ac14293-15aa-43ef-bdcc-12d5af712833",
"defaultCacheSize":288,
"deviceName":"SWAN574_70105",
"discardExtremeValues":false,
"discardHighLimit":1.7976931348623157E308,
"discardLowLimit":-1.7976931348623157E308,
"intervalLoggingPeriod":5,
"intervalLoggingSampleWindowSize":0,
"overrideIntervalLoggingSamples":false,
"preventSetExtremeValues":false,
"purgeOverride":false,
"purgePeriod":1,
"readPermission":"",
"setExtremeHighLimit":1.7976931348623157E308,
"setExtremeLowLimit":-1.7976931348623157E308,
"setPermission":"",
"tags":{
"MeterData":"3 Phase Total Energy",
"MeterName":"MainIncomingSupply"
},
"textRenderer":{
"type":"ANALOG",
"useUnitAsSuffix":true,
"format":"0"
},
"tolerance":0.0
},
will this have something to do with the unit not being accepted in 3.7.7?
How can I fix this?
Do I replace it with something blank so I can at least get through the import process?
Any help is appreciated!