Theme list fails to load, console outputs "Unknown resource format - xxxxx is a number" #3551

Closed
opened 2026-08-12 06:29:57 +00:00 by tusooa · 0 comments
Owner

Browser and OS

Firefox 153.0.1, Gentoo

Instance URL

kazv.moe

Backend version information

2.10.0

Frontend version information

develop

Browser extensions

No response

Known instance/user customizations

No response

Bug description

On production deployment where *.custom.json is unavailable, fetching the custom url will return html, and promisedRequest will return await response.bytes() for it, which is a Uint8Array.

One solution is to add forceContentType: 'application/json' to the two promisedRequest calls

Reproduction steps

No response

Bug seriousness

  • How annoying it is: pretty much
  • How often does it happen: always
  • How many people does it affect:
  • Is there a workaround for it: add *.custom.json
### Browser and OS Firefox 153.0.1, Gentoo ### Instance URL kazv.moe ### Backend version information 2.10.0 ### Frontend version information develop ### Browser extensions _No response_ ### Known instance/user customizations _No response_ ### Bug description On production deployment where *.custom.json is unavailable, fetching the custom url will return html, and promisedRequest will `return await response.bytes()` for it, which is a Uint8Array. One solution is to add `forceContentType: 'application/json'` to the two promisedRequest calls ### Reproduction steps _No response_ ### Bug seriousness * How annoying it is: pretty much * How often does it happen: always * How many people does it affect: * Is there a workaround for it: add *.custom.json
hj closed this issue 2026-08-12 10:54:44 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
pleroma/pleroma-fe#3551
No description provided.