[Developers] Sandbox error 500
Tim Kientzle
tim at metaweb.com
Wed Jan 16 18:19:44 UTC 2008
Arthur,
Looks like this is the error you should have seen:
{ "info": { "expected_type": "\/music\/artist", "property": "alias" },
"message": "Type \/music\/artist does not have property alias",
"code": "\/api\/status\/error\/mql\/type" }
This, of course, raises two questions:
* Why this error on sandbox? Could be someone's data experiment on
sandbox, hopefully whoever is working on this can chime in.
* Why the error got mis-reported? We are running a newer software
version on sandbox right now; looks like there's an error handler
broken in there somewhere. Fortunately, I think I've found the
details in our log files, so we should get that fixed promptly.
Thanks for reporting this...
Tim Kientzle
On Jan 15, 2008, at 8:44 PM, Arthur van Hoff wrote:
> FYI: When I submit this (incorrect) query to the sandbox I get a
> server error 500, while on the live database I get a regular error.
>
> “query”: [{
> "id": null,
> "name": null,
> "type": "/music/artist",
> "alias": "Police"
> }]
>
> HTTP/1.0 500 Internal Server Error
> Date: Wed, 16 Jan 2008 04:41:20 GMT
> Server: Apache
> Content-Length: 126
> Cache-Control: public
> Cache-Control: max-age=1, s-maxage=1
> Expires: Wed, 16-Jan-2008 04:41:22 GMT
> X-Metaweb-Cost: dt=0.301, nreqs=11, tr=0.113, tu=0.08, ts=0.032,
> pr=0, pf=0, dw=0, dr=23408, in=16422, ir=537, iw=0, va=78963,
> te=0.115, tg=0.116656780243, tf=0.168142557144, tm=0.0154099464417,
> cr=1, cm=1, ch=0, lr=2, lm=2, lh=0, gqr=0
> Content-Type: text/javascript; charset="utf-8"
> X-Cache: MISS from cache01.sandbox.sfo1.metaweb.com
> Connection: close
> X-Metaweb-TID: cache;cache01.sandbox.sfo1:8101;2008-01-16T04:41:20Z;
> 0009
>
> {
> "status": "500 Server Error",
> "code": "/api/status/error",
> "messages": [
> "string indices must be integers"
> ]
> }
>
> ___________________________________________
> Arthur van Hoff, Dell-ZING, CTO Software and Services.
> W: 650-267-2413, F: 650-267-2498, M: 650-283-0842
>
> _______________________________________________
> Developers mailing list
> Developers at freebase.com
> http://lists.freebase.com/mailman/listinfo/developers
More information about the Developers
mailing list