Ask Your Question
0

bad lookup for precn in ConstrStat_Lkp_7

asked 2016-10-06 11:30:53 -0500

updated 2016-10-06 11:37:22 -0500

This causes processing to crash. This one is rental table There is no option for PRECN in any class for ConstrStat_Lkp_7

ValueError: unknown XML element <element 'rets-status'="" at="" 0x3eaf480=""> with attributes {'ReplyText': 'Undecoded values were sent: Miscellaneous Search Error. Lookup: value PRECN not found in Lookup table ConstrStat_Lkp_7 for Resource 1. [LM_char50_8] ', 'ReplyCode': '20203'}

edit retag flag offensive close merge delete

Comments

What's even worse is that error is coming up when I'm only asking for ListingID to be sent:

<data> 4176986 </data> <data> 4176995 </data> <data> 4176996 </data> <maxrows/> </rets>

  • Re-using existing connection! (#0) with host (nil)
  • Connected to (nil) (208.93.242.142) port 443 (#0)
imaxdev gravatar imageimaxdev ( 2016-10-06 22:42:30 -0500 )edit

GET /rets/fnisrets.aspx/NEREN/search?SearchType=Property&Class=RE_1&Query=%28L_UpdateDate%3D2016-09-18T22%3A45%3A00%2B%29&QueryType=DMQL2&Count=1&Format=COMPACT-DECODED&Limit=1000&Offset=5001&Select=L_ListingID&StandardNames=0 HTTP/1.1

imaxdev gravatar imageimaxdev ( 2016-10-06 22:43:48 -0500 )edit

Authorization: Basic CITY RTE 302 TO E.BARRE, L ONTO COBBLE HILL RD, THEN 4TH R ONTO SUNNYSIDE, GO TO THE END ON RIGHT. Susan Arguin 13809

imaxdev gravatar imageimaxdev ( 2016-10-06 22:43:58 -0500 )edit

<rets-status replycode="20203" replytext="Undecoded values were sent: Miscellaneous Search Error. Lookup: value PRECN not found in Lookup table ConstrStat_Lkp_1 for Resource 1. [LM_char50_8] "/> <maxrows/> </rets>

imaxdev gravatar imageimaxdev ( 2016-10-06 22:44:07 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
1

answered 2016-10-11 17:23:29 -0500

UPDATE: 2016-10-11 17:30 CST - The metadata refresh has been completed which should fix the undecoded values.

edit flag offensive delete link more
1

answered 2016-10-07 15:08:59 -0500

i have created a workaround. the issue was there were 2 error elements that are returned. "rets-status" is for failures in lookup and "rets" is returned if there is no data.

i changed script to accept either and it is fine. it used to be "rets-status" for any failure.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

2 followers

Stats

Asked: 2016-10-06 11:30:53 -0500

Seen: 173 times

Last updated: Oct 11 '16