Yes . Its because of the accesstoken you are using . it won't have permission to access the sales module and thats why it showing this error.
get the admin token which have full permission of all the modules and then try it for the same
if issue solved,Click Kudos & Accept as Solution