Comment 0 for bug 809863

Revision history for this message
John A Meinel (jameinel) wrote :

I was writing an API client for bzr that will check if a package-import branch has the latest published source. I accidentally started passing "distro_series='/ubuntu/natty/'" and I would get Internal Server Error.

I'm guessing there is an OOPS associated with this, but I never saw it on my side. To reproduce, you can just go to:
https://api.launchpad.net/1.0/ubuntu/+archive/primary?distro_series=%2Fubuntu%2Fnatty%2F&exact_match=true&source_name=%22bzr%22&status=Published&ws.op=getPublishedSources&ws.size=1

this compares with the 'correct' URL:
https://api.launchpad.net/1.0/ubuntu/+archive/primary?distro_series=%2Fubuntu%2Fnatty&exact_match=true&source_name=%22bzr%22&status=Published&ws.op=getPublishedSources&ws.size=1

The returned text is: ComponentLookupError

So maybe there isn't an OOPS, and the 50? response is correct. It seems more like a 404 to me, though.