500 there was an internal error

This error occurs when the API server cannot process the request.

While it could indicate a problem withe the server, it is more common that there is a problem with your query. Verify the parameters you have specified — try simplifying the query and trying again.