First time here? Check out the FAQ!

No mapping defined for object type Photo

Hello, I am writting due that I need some help in a problem that I am facing when I try to download the media for a resource, I am currently using gorets as the library to download data from a rets server. When I download the images I send as Object Type the value "Photo" but the server is responding me with:

error code: 20501 Message: No mapping defined for object type Photo

In the rets speciication the error 20501 corresponds to Invalid Type The request could not be understood due to an unknown metadata type.

So, I do not know why it work for other resources and not for the one that I am retrieving, my question is: what does that means? the resource doesn't have photos but have another type of media?

sredny's avatar
asked 2018-06-05 13:44:04 -0500
edit flag offensive 0 remove flag close merge delete


What RETS URL and account name (NO PASSWORDS) are you using? Also, what resource are you trying to request images from?

bwolven's avatar bwolven (2018-06-05 13:48:20 -0500) edit

Hello, I used and the user: 19147r

This happens for some records of ActiveAgent as well as some Offices

sredny's avatar sredny (2018-06-05 14:46:25 -0500) edit
add a comment see more comments

1 Answer


The valid GETOBJECT types are:

Property: Photo and Thumbnail

Agent and ActiveAgent: Photo and OfficeLogo

If you don't have access, you will need to contact the MLS directly and request access through RETSIQ.

bwolven's avatar
answered 2018-06-05 15:32:29 -0500, updated 2018-06-05 15:51:41 -0500
edit flag offensive 0 remove flag delete link


uhhh Thank you very much! I will take that in consideration

sredny's avatar sredny (2018-06-05 16:20:36 -0500) edit

Were you able to get this resolved through the MLS?

bwolven's avatar bwolven (2018-06-07 13:41:41 -0500) edit
add a comment see more comments

Your Answer

Login/Signup to Answer