If you’re getting a 401 error, there’s probably something wrong with your token or query. Can you please share how you’re assigning sToken and sQry so we can get to the bottom of it?
Please don’t share the actual token, but it’ll be useful to see how you’re assigning those variables.