https://api.snapcraft.io/api/v1/snaps/sections returns 403 Forbidden

Bug #1950156 reported by Maximilian Federle
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Snap Store Server
Fix Released
Undecided
Unassigned

Bug Description

See https://forum.snapcraft.io/t/snap-store-font-issue-and-empty-looking/27379/8 for forum discussion.

The snap-store desktop application does not display categories. It logs:

11:37:16:0179 Gs not GsPlugin error snapd-error-quark:10: status-code=500 kind=(null) message=cannot retrieve sections: got unexpected HTTP status code 403 via GET to "https://api.snapcraft.io/api/v1/snaps/sections"
11:37:16:0180 Gs not handling error failed for action get-categories: status-code=500 kind=(null) message=cannot retrieve sections: got unexpected HTTP status code 403 via GET to "https://api.snapcraft.io/api/v1/snaps/sections"
11:37:16:0180 Gs failed to get categories: no categories to show

Checking the URL yields:

$ curl https://api.snapcraft.io/api/v1/snaps/sections
<html><body><h1>403 Forbidden</h1>
Request forbidden by administrative rules.
</body></html>

## Expected result

The URL returns the sections/categories.

Maximilian Federle (ppd)
description: updated
Revision history for this message
William Grant (wgrant) wrote :

api.snapcraft.io sometimes rejects certain background requests when it's overloaded. /api/v1/snaps/sections was erroneously included in that category, but I've just fixed that, so it shouldn't be a problem any more.

Changed in snapstore-server:
status: New → Fix Released
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.