Error: Data Access Error when accessing Contacts

Hi guys. I’m new to Scriptable, but have some experience in JS. Can’t somebody explain me why I can’t access contacts data? I receive:
Error: Data Access Error
Even though when I ran the script for the first time I gave an access for contacts.
iPhone 14 Pro Max, iOS 16.4.1

Same here on an existing widget. Worked fine till 16.4.