themeFilesUpsert mutation must have write_themes and write_themes_assets but 2024-10 does not allow

themeFilesUpsert mutation Requires The user must have write_themes and write_themes_assets.
Yet adding that to scope on 2024-10 creates this error:
Oops, something went wrong.What happened? Oauth error invalid_scope:
The access scope is invalid: write_themes_assets