Hi monday.com Developer Community,
I am facing an issue with the monday SDK that started occurring suddenly.
I have a monday app where I use the monday SDK to make several API queries using:
monday.api(...)
This was working correctly before, and I have not intentionally made any significant changes to this part of the implementation. However, it has suddenly started throwing errors such as:
-
monday.api is not defined -
monday.api is not a function
Because of this, all the queries in my app that use monday.api() are failing.
I am loading the SDK using:
https://cdn.jsdelivr.net/npm/monday-sdk-js/dist/main.js
Could someone please help me understand:
-
Has there been any recent change in the monday SDK that could cause
monday.apito become unavailable? -
Is the CDN URL above still the correct and recommended way to load the SDK?
-
Do I need to initialize the SDK differently now?
-
Is there any known issue with
monday.api()in monday apps?
This was previously working without any issue, so I would appreciate any guidance on what may have changed or how to resolve this.
Thank you!