-
Type:
Suggestion
-
Resolution: Won't Fix
-
Component/s: Backup and Restore
NOTE: This suggestion is for JIRA Cloud. Using JIRA Server? See the corresponding suggestion.
When the importer fails to parse JSON, the error message says:
Import completed with 2 errors: Failed to create data bean Unexpected failure occurred. Importer will stop immediately. Data maybe in an unstable state
However:
- An end user doesn't know or care what a "data bean" is.
- The data is definitely not in an unstable state because we haven't done anything yet.
- The detailed log has an error message that gives the line number and column of the parsing error.
Suggested improvement:
- Report a more meaningful error and include the location directly in the report. Example: The JSON import file could not be parsed. Unexpected character ('T' (code 84)): expected a valid value (number, String, array, object, 'true', 'false' or 'null') at line: 2, column: 2
- is related to
-
JRASERVER-64633 Error message for JSON parse errors is less helpful than it could be
- Closed