StoreKit.LastError
------------------

Queries last error as JSON.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [StoreKit](component_StoreKit.md) | [15.0](newinversion150.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |

MBS( "StoreKit.LastError" ) ### Parameters

none

### Result

Returns JSON or error.

### Description

Queries last error as JSON.  
The error information includes code, domain and localized message.  
If no error happened, the error code is zero.  
### Release notes

- **Version 15.0**
    - Added [StoreKit.LastError](https://www.mbsplugins.eu/StoreKitLastError.shtml) function.

### Blog Entries

- [New in MBS FileMaker Plugin 15.0](https://www.mbsplugins.de/archive/2025-01-21/New_in_MBS_FileMaker_Plugin_15/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 14.6pr4](https://www.mbsplugins.de/archive/2024-12-13/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 10th December 2024 , last changed 10th December 2024

  
[StoreKit.IsProductViewVisible](StoreKitIsProductViewVisible.md) - [StoreKit.ProductQueryRunning](StoreKitProductQueryRunning.md)

[HTML Version](StoreKitLastError.shtml)