[Developers] "Unique query may have at most one result" Error
Eric Sessions
esessions at gmail.com
Sun Sep 9 14:38:03 UTC 2007
Hi,
I am sorry for asking such a basic question. I am having a lot of trouble
with a query (trying to run it in the query editor.) It runs great for the
first three tries then fails at the fourth try. I am using cursors and
taking the cursor from the previous result and using it at the next query. I
am really lost as to what I am doing wrong.
The query I am trying to run is
{
"cursor":true,
"query":[{
"*":[],
"/business/retail_location/address":{
"citytown":[],
"postal_code":[],
"street_address":[],
"street_address_2":[]
},
"name":[],
"type":"/dining/restaurant"
}]
}
The error message I get is
"Unique query may have at most one result. Got 56". It seems like on the
fourth attempt, it is losing the outside data like restaurant id etc and
only returning the address information only. What am I doing wrong?
Thanks,
-Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freebase.com/pipermail/developers/attachments/20070909/699f27d1/attachment.htm
More information about the Developers
mailing list