Hi Suraj,
I have a couple ideas, first I would make sure that your values are the proper type, such as having a string when you need an integer. I would then make sure that you are specifying the spatialReference of the geometry you are creating. I would also try adding the "type" attribute to your geometry as well, such as "type":"point"
This might be related to the breaking changes here:
https://developers.arcgis.com/javascript/latest/guide/release-notes/#breaking-changes
DateString
, DateFormat
, and NumberFormat
formatter functions are no longer supported when used with a PopupTemplate's content
and/or title
. Instead, set it via the FieldInfo's fieldInfoFormat.esri/core/lang.substitute()
, dojo/number.format()
, and dojo/date.format()
methods.