Custom script work in administrator user and don't work in other

i have this code to fetch current user branch form doctype User , the field branch i was added to this table.
the code :
frappe.ui.form.on(‘incoming trailing’, {
refresh(frm) {
frappe.call({
method:“frappe.client.get_value”,
args: {
doctype:“User”,
filters: {
username: frappe.session.user
},
fieldname:[“full_name”, “branch”]
},
callback: function® {
console.log®;
// set the returned value in a field
cur_frm.set_value(‘branch’, r.message.branch);
}
});
}
});

when i logged as administrator it work fine and branch name of administrator fetched.
but when i logged as normal user i get this message from console :
Unable to handle success response
TypeError: Cannot read property ‘branch’ of undefined
at Object.callback