[wdmmg-dev] 500 error for http://sandbox.openspending.org/api/2/aggregate?dataset=ugandabudget&dril ldown=swg

Rufus Pollock rufus.pollock at okfn.org
Thu Jun 23 12:28:43 UTC 2011


On 23 June 2011 13:01, Martin Keegan <martin.keegan at okfn.org> wrote:
> The 500 error looks like another way of producing an error I thought I fixed
> last weekend. Basically mongo is refusing to do a query without an index,
> because it would take too long, and we weren't catching the exception. It
> looks like my fix needs to be applied to some other part of the code that I
> missed.
>
> Of course, it's only a bandaid, but it at least tells the user what the real
> problem is, which they can then get fixed.

Great work Martin.

@Carsten (and Martin): how do we ensure we always have these indexes built?

Rufus




More information about the openspending-dev mailing list