Search and info conflict on snaps with whitelisted country

Bug #1904911 reported by Toto Bille
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snap Store Server

Bug Description

All this is done with a UK IP (if it matters :) )

The snap raspberrymonitor has whitelisted a selection of territories.

If you search for the snap you can find it:
curl -H 'X-Ubuntu-Store: ubuntu' "" | jq

But if you get info of the snap, it returns a 404:
curl -s -H 'Snap-device-Series: 16' -H 'X-Ubuntu-Architecture: any' "" | jq

(this impacts the storefront: see and )

Revision history for this message
Daniel Manrique (roadmr) wrote :

The snap is allowed only in Italy, this explains why you can't get info for it from a UK IP address, which I confirmed from a US address as well.

We don't consider the snap's allowed territories in find as it would make the already-slower-than-desired find much slower, since we would have to filter each snap in the result against the requesting IP's geolocation.

Changed in snapstore-server:
status: New → Confirmed
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.