RETS ReplyCode= 20507 "You are not authorized access to metadata."

  • retag add tags

I am trying to setup Estatik through WordPress and when setting up the configuration I am unable to get authorization. I have tried to login to RETS and pull the Meta Data without using the plugin and I get the error that I don't have access to metadata.

This is what it says: Cookie: RETS-Session-ID=-238cfed2-c184-4167-92fe88b7dd396d06-

ReplyCode="20507" ReplyTest="You are not authorized access metadata."

aschaefer's avatar
aschaefer
asked 2020-12-11 14:44:00 -0500
edit flag offensive 0 remove flag close merge delete

Comments

Please provide your RETS URL and account name (NO PASSWORD)

bwolven's avatar bwolven (2020-12-14 10:31:36 -0500) edit
aschaefer's avatar aschaefer (2020-12-14 10:35:23 -0500) edit

I don't really know anything about the plugin.
Can you try connecting using HTTP and see if that works?
HTTPS requires Basic authentication which you may be able to set in Advanced options.

bwolven's avatar bwolven (2020-12-14 11:19:36 -0500) edit

We did try using the HTTP and not the plugin and that's when we are getting the error saying I am not authorized to access the metadata. I have screen shots, but I am unable to upload them here.

http://joxi.net/brRe4VXsO84JlA

http://joxi.net/bmoYpZPcyljMjA

aschaefer's avatar aschaefer (2020-12-14 11:33:40 -0500) edit

I was able to login and pull metadata:

http://igl-rets.paragonrels.com/rets/fnisrets.aspx/IGL/login?rets-version=rets/1.8 
http://igl-rets.paragonrels.com/rets/fnisrets.aspx/IGL/getmetadata?rets-version=rets/1.8&type=metadata-system&ID=*&format=compact
http://igl-rets.paragonrels.com/rets/fnisrets.aspx/IGL/logout?rets-version=rets/1.8
bwolven's avatar bwolven (2020-12-14 11:52:50 -0500) edit

Were you able to get this working?

bwolven's avatar bwolven (2020-12-14 14:00:52 -0500) edit

We were not able to get this to work. I am wondering if I have the wrong password at this point. It continues to send the error back.

aschaefer's avatar aschaefer (2020-12-15 08:16:25 -0500) edit

When you do the login URL in a browser and enter login and password does it return success?

bwolven's avatar bwolven (2020-12-15 08:24:42 -0500) edit

We are getting assistance from a 3rd party, but this is what they stated when they tried with our login information: http://joxi.net/brRW1BLiORMxEm

Do they need to use User Agent and User Agent password credentials as well?

aschaefer's avatar aschaefer (2020-12-15 08:29:48 -0500) edit

That response shows the login succeeded so your connection information is correct.
They will need to pass the RETS-Session-ID cookie returned by the login to each subsequent request along with the rets-version as either a URL parameter or header.
Then call logout when finished to close the connection.
The 3 URLs I included above show the sequence when used in a browser.

bwolven's avatar bwolven (2020-12-15 08:36:02 -0500) edit
add a comment see more comments