python-fmrest
python-fmrest copied to clipboard
Question - How to access messages array when creating record
Is there a way to access the messages array (which contains "code" and "message") that's returned by the FileMaker Data API when a record is created please?
Thanks in advance.
You can get the "code" via the Server's last_error property.
The message is currently only available in the exception value when an error occurs.
For what do you need the code/message? Just to make sure that no error has occurred?
Brilliant – thanks very much for that.
I just want to to be able to confirm if the record has been created and that there wasn’t an error.