Are you executing the client script and the restle...
# suitescript
m
Are you executing the client script and the restlet with the same user/role @oceancloud?