Geeting error while clicking on UI Action "A JSONObject text must begin with '{' at character 0 of"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2024 03:28 AM
Geeting error while clicking on UI Action "A JSONObject text must begin with '{' at character 0 of" in workspace.
I used the "action bar" component for my custom record page, using the preset "record action" in the action bar configuration.
- Labels:
-
Now Experience UI Framework
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2024 03:54 AM
@janvibaJhala I have seen this error when stringify JSON that time data is not in Jason format instead would be string.
Make sure the response format is JSON by using JSON.stringify() before returning if you’re dynamically building a response.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2024 04:04 AM
@Abhay Kumar1 When I click on any UI action like "Save" or "Change Level"(Custom action), it gives me the same JSON error. So, where do I need to stringify the response, as in my UI actions, I am updating the table field value?