Error: Cannot convert null to an object.,Detail: Cannot convert null to an object. getting this erro
This content was last updated in 2024. It may still be useful, but could contain outdated information. Please confirm its accuracy before relying on it.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2024 03:11 AM
10 REPLIES 10
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2024 04:43 AM
@saidarvenna It looks like you are trying to use JSON.parse() in your custom action worknotes update - country. Please use an if check to check the string which you are trying to convert to an object using JSON.parse actually contains any value or not.