Tuesday, November 10, 2015

Error: parsererror - SyntaxError: JSON.parse: unexpected non-whitespace character after JSON data at line 2 column 1 of the JSON data

Always check out the original article at http://www.oraclequirks.com for latest comments, fixes and updates.

Error: parsererror - SyntaxError: JSON.parse: 
unexpected non-whitespace character after JSON data at line 2 column 1 of the JSON data

You may get this self-explanatory error at run-time if you specified a non-existing page item in the list of items to be returned after invoking a PL/SQL procedure from within a dynamic action in Oracle Application Express.




This may easily happen if you mistyped the page item name for instance, but in my case I had completely forgotten to create the item P4_ID.
Luckily I had an epiphany before going totally nuts.

No comments:

Post a Comment

I appreciate your comment however bear in mind that I might not have the time to reply soon.
Normally I do not reply to all comments but I am glad if you found something useful or if you learned something new, in that case I strongly encourage you to promote the article with the +1 google button.
Flavio