| 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
# 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
- Version 14.3
- Improved JSON.Import to report SQL statements in the error list for JSON.Import.Errors alongside the error messages.
- Version 9.3
Blog Entries
- MBS FileMaker Plugin, version 14.3pr5
- With JSON in excellent form
- Neues vom MBS Plugin 9.3
- Whats new in MBS FileMaker Plugin version 9.3
- MBS FileMaker Plugin, version 9.3pr3
FileMaker Magazin
This function is free to use.
Created 18th June 2019, last changed 6th November 2026
MarkDown version: JSONImportErrors.md