BizKitHub
INTERNAL_LOGO_UNSUPPORTED_TYPE

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

Z BizKitHub Docs, dokumentacja kodów błędów API

Nazwy i opisy kodów prowadzimy po angielsku.

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 rozwiązać

  1. 1

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

Przykładowa odpowiedź

API odpowiada statusem HTTP 415 i treścią w formacie JSON. Porównuj errorCode, nie message. Komunikaty mogą się zmieniać, kody pozostają stałe.

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"
}
Dokumentacja referencyjna:Kody błędów API|Platforma|HTTP 415