Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

JSON.Import.Errors

Queries list of error messages.

Component Version macOS Windows Linux Server iOS SDK
JSON 9.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "JSON.Import.Errors" )

Parameters

none

Result

Returns list or error.

Description

Queries list of error messages.
We remove duplicates, so you may not see all errors.

Examples

Log the error messages of a JSON import:

Set Variable [ $r ; Value: MBS( "JSON.Import"; $json; Get( FileName ); "Import" ) ]
# list of error messages, duplicates are removed
Set Variable [ $messages ; Value: MBS( "JSON.Import.Errors" ) ]
If [ not IsEmpty( $messages ) ]
    Set Field [ ImportLog::Errors ; $messages ]
End If

See also

Release notes

Blog Entries

This function is free to use.

Created 18th June 2019, last changed 6th November 2026


JSON.Import.ErrorCount - JSON.Import.SetBaseFields


MarkDown version: JSONImportErrors.md