Bug - Model Search API - Using `max_filesizes` causes query to ignore categories

This query returns models that match the animals-pets category:

https://api.sketchfab.com/v3/search?type=models&categories=animals-pets

If the max_filesizes parameter is used, the query returns models that do not match the animals-pets category:

https://api.sketchfab.com/v3/search?type=models&max_filesizes=gltf%3A20971520&categories=animals-pets

Queries with the max_filesizes parameter also appear to ignore the downloadable filter:

Downloadable models:

https://api.sketchfab.com/v3/search?type=models&downloadable=true

Not downloadable models:

https://api.sketchfab.com/v3/search?type=models&max_filesizes=gltf%3A20971520&downloadable=true

Hi @mozillareality - the devs are looking into this and working on a fix.

2 Likes