Trying to run the following code and getting a "bad request 400" back no matter what I change. I can't see anything wrong and I know the scene and view are correct. Anyone see anything unusual? I'm using the new builder.
$(document).on('knack-view-render.view_13', function(event, view, data) {
$.ajax({
type: 'GET',
headers: {
'Authorization': Knack.getUserToken(),
'X-Knack-Application-Id': Knack.application_id,
'X-Knack-REST-API-KEY': 'knack'
},
success: function(data) {
console.log(data);
}
});
});