When you install the sentinelhub package, it comes with a “config.json” file. The best practice is to store your credentials in this file. Here is the link to a tutorial on how to set the configuration parameters. Please let me know if you still have some difficulties with it.
Here is more information about authentication. Having a free trial license should still give you access to the services. Could you please share the snippet of the code that is creating this error?