@Mike_Harvey Why not we use the platform.session.session_token to get the current user token ?
If i try your scripts too when i call the
var venue = platform.api.get('treat_well/_table/tw_venue',options);
throw venue.content.resource[0].venue_id
It still gives the error as
Cannot read property ‘0’ of undefined
Why it’s happening there?