The error means that you are trying to perform a query without creating a user or application session first.

Please follow instructions on how to correctly create sessions here: Authentication

and refer to our FAQ: Why do I get an “Unauthorized” 401 error?

Feel free to check our official documentation for more information that will help you to integrate QuickBlox services into your applications / projects or contact our Support team by submitting a ticket if you have any other questions.