First time here? Check out the FAQ!

Media tables I get 0 records

in Media tables I get 0 records. We are using the library and here's my code to get media:

$rets->searchQuery( "Media", "RS_1", "(L_Status=1_0)", [ 'Limit' => 5000, 'Offset' => 1, 'Count' => 1, 'Format' => 'COMPACT-DECODED' ]);

can you please help me

URL: ""

studio11's avatar
asked 2016-10-17 14:12:14 -0500
bwolven's avatar
updated 2016-10-19 09:52:31 -0500
edit flag offensive 0 remove flag close merge delete


Please provide RETS Login URL and account name so I know what to look at. You should be able to just update your original entry with the information.

bwolven's avatar bwolven (2016-10-17 14:51:44 -0500) edit

how can I send you login and password so it's not showing to everybody

studio11's avatar studio11 (2016-10-17 15:09:28 -0500) edit

NO Passwords. Just URL so I know which MLS you are using. And an account name so I can check your specific profile. You can email to:

bwolven's avatar bwolven (2016-10-17 15:29:36 -0500) edit

Are you still having issues with this? I haven't heard anything more.

bwolven's avatar bwolven (2016-10-19 09:18:57 -0500) edit
add a comment see more comments

1 Answer


I checked your account and your profile does not allow access to the media resource.

Here is the error that RETS is returning:

<rets-status replycode="20207" replytext="Unauthorized Query. You are not authorized to access class [RS_1] in resource [Media]."/>

You will need to contact the MLS to request access to the Media resource.

Also you are using our legacy RETS URL. Please update it to use the new one.


I would also suggest you set your RETS version to 1.7.2 or 1.8 instead of 1.5.


bwolven's avatar
answered 2016-10-19 09:51:56 -0500
edit flag offensive 0 remove flag delete link


add a comment see more comments

Your Answer

Login/Signup to Answer