While I wanted to upload a JSON file in SAP Analytics Cloud in the Custom Widgets area, the following error message appears:
Default value of property value is expected to be of type number
Do you know the reason for this error?
While I wanted to upload a JSON file in SAP Analytics Cloud in the Custom Widgets area, the following error message appears:
Default value of property value is expected to be of type number
Do you know the reason for this error?
I think you have given either wrong data type in your JSON file or wrong value.
If you have provided datatype as number then give integer value.
"value": {
"type": "number",
"description": "Gauge value",
"default": 0
}
If you have given your datatype as string then give string value.
"info": {
"type": "string",
"description": "Gauge info",
"default": ""
}
I think this will solve your issue.