Skip to content

format=webp parameter rejected with 400 error after PR #921 #1010

@AadilRashid

Description

@AadilRashid

Bug Report

After PR #921 (#921) was merged, the image transformation API no longer accepts format=webp as a valid query parameter.

Error returned:
{"statusCode":"400","error":"Error","message":"querystring/format must be equal to one of the allowed values"}

URL pattern used:
https://<project>.supabase.co/storage/v1/object/public/<bucket>/<path>/image.webp?width=300&height=300&quality=85&format=webp

Expected behavior:
format=webp should be accepted as it was before PR #921.

Actual behavior:
Returns 400 error, breaking all image transformations that use format=webp.

Impact:
This is a breaking change that has affected our production Flutter app with thousands of users. All product images are broken. Fixing this on our end requires a new app build and Play Store release.

Related:
GitHub issue: supabase/supabase#44788
Supabase support ticket: SU-356607

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions