BizKitHub
INTERNAL_LOGO_UNSUPPORTED_TYPE

The logo must be a PNG, JPG, WebP or SVG image.

Z BizKitHub Docs, reference chybových kódů API

Názvy a popisy kódů udržujeme v angličtině.

HTTP 415Platforma
The uploaded file is not an image, or it is an SVG that could not be rendered. SVG logos are converted to PNG because most e-mail clients do not display SVG.

Jak to vyřešit

  1. 1

    Upload the logo as PNG (transparent background works) or JPG.

Ukázka odpovědi

API odpoví statusem HTTP 415 a tělem ve formátu JSON. Porovnávejte errorCode, ne message. Zprávy se mohou přeformulovat, kódy zůstávají stejné.

application/json
{
  "state": "error",
  "code": 415,
  "message": "The logo must be a PNG, JPG, WebP or SVG image.",
  "errorCode": "INTERNAL_LOGO_UNSUPPORTED_TYPE",
  "hint": "The uploaded file is not an image, or it is an SVG that could not be rendered. SVG logos are converted to PNG because most e-mail clients do not display SVG.",
  "documentationUrl": "https://docs.bizkithub.com/errors/INTERNAL_LOGO_UNSUPPORTED_TYPE"
}