oj-sp-calendar doesn't display events
Summary:
I am trying to create a new page in a new extension in our Fusion application. Ideally, I would like to display a calendar with events fetched from Oracle HCM RestAPI (absences & worker Availability). I have successfully created a service connection and have used it to fetch some data. Following the instructions in the video -https://www.youtube.com/watch?v=e5sSt_c8Bu0&t=480s , I have created the calendar component with a variable to store the formatted data.
But when I use the Preview button to view the page, it doesn't display the events. I can see the following error in the console -