Ask Your Question

No mapping defined for object type Photo

asked 2018-06-05 13:44:04 -0600

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?

edit retag flag offensive 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 gravatar imagebwolven ( 2018-06-05 13:48:20 -0600 )edit

Hello, I used and the user: 19147r

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

sredny gravatar imagesredny ( 2018-06-05 14:46:25 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2018-06-05 15:32:29 -0600

updated 2018-06-05 15:51:41 -0600

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.

edit flag offensive delete link more


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

sredny gravatar imagesredny ( 2018-06-05 16:20:36 -0600 )edit

Were you able to get this resolved through the MLS?

bwolven gravatar imagebwolven ( 2018-06-07 13:41:41 -0600 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2018-06-05 13:44:04 -0600

Seen: 426 times

Last updated: Jun 05 '18