Comment 0 for bug 1950156

Revision history for this message
Maximilian Federle (ppd) wrote :

See https://api.snapcraft.io/api/v1/snaps/sections" 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.