Skip to main content
7-Bedrock
August 13, 2023

Hi,
After multiple attempts, I decided to uninstall Kepserver completely and reinstall it.
I had been using version 6.5 previously and then installed version 6.14 without deleting all data, which I believe caused the issue. It is now functioning properly.

 

Thanks for your assistance!

5 replies

12-Amethyst
August 4, 2023

A 401 error is an authentication error. Can you confirm that you are passing the correct user credentials to the API endpoint?

 

Best regards,

Andy Servetas
Principal Technical Support Engineer | Kepware Technologies

Translate
7-Bedrock
August 6, 2023

In the setup json file, I'm writing the user and password defined during the Kepserver installation. Is this correct?

Best regards.

Translate
15-Moonstone
August 9, 2023

While I have never tried it this way (and at this time cannot confirm either way), according to this article on REST, it should work if the credentials are being passed correctly:

 

https://stackoverflow.com/questions/18347055/calling-a-rest-api-with-username-and-password-how-to#18347178

 

I can check with our engineering team to see if this has been tested or not.

 

-Andy

Translate