First time here? Check out the FAQ!

"HTTP (401) 401 - Unauthorized: Access is denied due to invalid credentials." Error when Trying to Access retsmd

  • retag add tags


Tahoe Sierra Board of REALTORS supplied me with a RETS username and password today, but whenever I try to use them to access RETS MD, I get the following error - "HTTP (401) 401 - Unauthorized: Access is denied due to invalid credentials. Server Error 401 - Unauthorized: Access is denied due to invalid credentials. You do not have permission to view this directory or page using the credentials that you supplied."

I have tried RETS MD with both 1.7.2 and 1.8 RETS versions, and I get the same error each time. When I try to use the credentials with RETS Connector, a small login window pops up, with the following message - "The remote server returned an error: (401) Unauthorized. Please specify correct credentials."

Below is the RETS URL and Username that I have been using -


Username – 10204

Can you please help me to resolve this issue so that I can access RETS MD and RETS Connector for Tahoe Sierra Board of REALTORS? Thank you!

BrokerageEngineMLS's avatar
asked 2022-08-30 15:50:54 -0500
edit flag offensive 0 remove flag close merge delete


I tested your account and was able to login, download metadata, and search without issues.
Are you sure you are using the correct credentials?
Make sure you include any special characters in the password.

bwolven's avatar bwolven (2022-08-30 17:00:01 -0500) edit

Were you able to get this working?

bwolven's avatar bwolven (2022-08-31 13:47:26 -0500) edit

I was not able to get this working. I am trying to use the credentials that the MLS provided to me, but I get that same error every single time.

BrokerageEngineMLS's avatar BrokerageEngineMLS (2022-09-09 09:25:10 -0500) edit

Can you try the full login URL in a browser including the rets-version parameter in the URL.
When it prompts, enter your credentials.

bwolven's avatar bwolven (2022-09-09 09:32:05 -0500) edit

I tried that. Whenever I enter my credentials and click "Sign In", it just clears my credentials away. No message comes up when that happens. It just clears away what I put in the Username and Password fields.

BrokerageEngineMLS's avatar BrokerageEngineMLS (2022-09-09 16:58:44 -0500) edit

If you can't use it in a browser like that, most likely you have the wrong password or missed some characters when you copied it. Make sure you include any punctuation characters.

bwolven's avatar bwolven (2022-09-09 18:04:37 -0500) edit

Were you able to get valid credentials?

bwolven's avatar bwolven (2022-09-12 13:16:48 -0500) edit

One of my developers tried to log into RETS Connector with the credentials, and he received a message. He let me know that the message makes it seem like the MLS switched to Digest auth. Could that be causing the issue that is preventing us from logging in?

BrokerageEngineMLS's avatar BrokerageEngineMLS (2022-09-20 09:49:58 -0500) edit

-- REQUEST: --

Accept: / User-Agent: RETS-Connector/1.2 RETS-Version: RETS/1.7.2 RETS-UA-Authorization: Digest 0c233b21539a0ef62d1e714d543d5c84 Authorization: Digest username="10203",realm="TSIERRA",nonce="2022-09-20T14:42:55.ac5908f8556ad311a61a5e631930995d",uri="/rets/fnisrets.aspx/TSIERRA/login",cnonce="960dd67c4eda75a7b46081d5835a1b6c",nc=00000001,qop="auth",response="9ce581033c4a57fdc0cc0d5e9f83c81d",opaque="" Host:

-- RESPONSE: -- The remote server returned an error

BrokerageEngineMLS's avatar BrokerageEngineMLS (2022-09-20 09:55:45 -0500) edit
add a comment see more comments

1 Answer


With HTTP RETS URL you need to use DIGEST authentication
With HTTPS RETS URL you need to use BASIC authentication.

bwolven's avatar
answered 2022-08-31 09:53:06 -0500
edit flag offensive 0 remove flag delete link


add a comment see more comments

Your Answer

Login/Signup to Answer