Welcome to Knowage Q&A, where you can ask questions and receive answers from other members of the community.
+1 vote
1 view

How can I solve the "status=401, response=Unauthorized" error?

Hello,

I get the following error when trying to preview a dataset with python:

However, the service seems to work fine as I get to see all the available libraries:


I have checked that the user, in this case Admin has enabled the authorizations 
Federated Dataset
Edit Python/R Scripts

In the terminal I get these errors when I want to preview the dataset.

Any idea where the problem could be coming from and how to solve it?

Thank you in advance!

Environment Knowage 8.0.9, knowage-python=8.0.2
in Data Set by (290 points)
Hi,

Did you fix this? If you did, how did you do it please?

Thanks.
Yes, the problem was that when creating the hmackey file, a carriage return was inserted at the end of the number. After deleting it, it worked!
I hope it works for you
Thank you for your response, I have tried replicating this but sadly, I am still getting the same error. If you don't mind I have two follow up questions, Did you have to do anything on Knowage's database concerning authorisation and  where is your Knowage-Python folder located, is it just outside the Knowage-Server-CE folder like mine or placed inside it. If it is inside Knowage-Server-CE folder, what's the file directory please.

Thank You!!!

Please log in or register to answer this question.

...