[Developers] understanding an error message
Tim Sturge
tsturge at metaweb.com
Fri Feb 1 21:00:55 UTC 2008
It means we haven't been very precise in issuing good error messages.
"sort" is a directive (and you see it in the "key" field) but the
"dictionary value" part is just trying to cover too much ground in a
single message.
I'll see if I can make these messages a bit clearer.
Tim
Augusto Callejas wrote:
> hi-
>
> when i intentionally submit this bad query:
>
> {
> "query" : [
> {
> "id" : "/common/topic",
> "properties" : [
> {}
> ],
> "sort" : [
> null
> ],
> "type" : "/type/type"
> }
> ]
> }
>
> i get this error message:
>
> {
> "code" : "/api/status/error",
> "messages" : [
> {
> "code" : "/api/status/error/mql/parse",
> "info" : {
> "key" : "sort"
> },
> "message" : "Can't use a dictionary as a directive value"
> }
> ]
> }
>
> i don't understand it. what dictionary is the message referring to?
> does the error message mean the array?
>
> thanks,
> augusto.
>
>
> _______________________________________________
> Developers mailing list
> Developers at freebase.com
> http://lists.freebase.com/mailman/listinfo/developers
>
More information about the Developers
mailing list