I have an app that provides a board view and stores all data using the storage API. The implementation of this storage API by monday.com involves retrieving data from the server and can result in rate limit errors which are propagated back through the SDK’s storage API in the form of cryptic errors relating to Window.postMessage and a DOMException.
How can an iframe based app protect against this? There seems to be no reliable way since the SDK doesn’t return the typical rate limit response information such as retryAfter
.
Hello @Roobrick!
You can create a workaround by changing the queries you are using in a way in which you can lower the complexity points being used.
If you send us an email to appsupport@monday.com with the queries that you use and an explanation of your app, we can gladly take a look and try to help you avoid this issue
Looking forward to hearing from you!
Cheers,
Matias
1 Like
Hi @Matias.Monday ,
I’m calling the front end SDK API monday.storage.instance.getItem(storageKey)
sgo it is likely already about as simple as can be.
An alternate workaround would be to provide some bulk operations such as a getItems
API.
Regards,
Dugald
Hello again,
I replied to your email!
Talk to you over there
Cheers,
Matias