403 Error on view based GET

Hi,

I have the following custom javascript code which works fine for most users, but there are a couple of guys who are getting a persistent 403 ‘Unauthorised’ error. Can anyone shed any light??

var filters = {
‘match’: ‘and’,
‘rules’:[
{‘field’:‘field_4250’,‘operator’:‘is’,‘value’:‘REQuested’}
]};

$.ajax({
url: ‘https://api.knack.com/v1/pages/scene_1347/views/view_2322/records?rows_per_page=1000&filters=’ + encodeURIComponent(JSON.stringify(filters)),
async: false,
type: ‘GET’,
headers: {
‘Authorization’: Knack.getUserToken(),
‘X-Knack-Application-Id’:Knack.application_id,
‘X-Knack-REST-API-KEY’:“knack”,
‘Content-Type’:‘application/json’
},

Hello Neil,

Check for that user access to scene_1347.

Regards,
Sunny Singla

Thanks Sunny, turns out it was just a case of clearing cookies!