Sign up free
Documentation
Type to search. Use the down arrow to browse results, or Escape to close them.

Troubleshooting

Fix common upload, preview, and integration problems.

The server says the image is missing

The multipart field must be named image. Sending a raw file body, JSON, or a field named file will not satisfy this endpoint. In cURL, use --form 'image=@logo.png'.

Multipart data cannot be read

Do not manually set Content-Type: multipart/form-data in a Fetch request. The browser or HTTP library must add its boundary. Let it generate that header from the FormData body.

A small file exceeds the image limit

Compressed file size and decoded pixel count measure different things. Check the width multiplied by the height against the limits for your chosen engine. A compact file can exceed the pixel limit, and browser and API limits are documented separately.

The API returns 401 or 402

For 401, check that your server sends Authorization: Bearer vt_live_... with a complete, unrevoked key. Create or revoke keys in the dashboard. Do not expose the key in browser code.

For 402, check your monthly allowance and granted API credits. Granted API credits work without a subscription. Browser export credits and Web Pro do not cover API requests.

A retry returns 409 or the same result

conversion_in_progress means a request with that idempotency key is still running. Wait before retrying with the same key. Once completed, the same key and identical bytes return the original result. Different bytes return idempotency_conflict. Use a new key for a deliberate new conversion. See retry behavior.

The SVG will not open

Save the svg property from the JSON response, not the whole response object. A usable file starts with SVG markup, rather than an opening JSON brace. Write the file as UTF-8 with a .svg extension.

Edges or small text look different

Try a cleaner source image and compare at the intended display size. Tiny text, soft gradients, compression artifacts, and photographic detail can turn into shapes you may want to edit manually. SVG conversion cannot recover information absent from the source image.

Fetch works on the server but fails in the browser

Browser access is restricted to Vectali’s configured origins. Send requests from your application’s server, where the API key can remain secret. Do not disable browser security or send credentials through an untrusted public proxy.

The preview has unexpected space around it

Inspect the SVG’s viewBox and the source canvas. Empty pixels around the original can remain part of the output’s coordinate area. Crop the source before converting, or adjust the output in your vector editor.

The service does not respond

Keep the selected file available, display a useful error, and offer a retry. Check the HTTP status and network response before debugging SVG rendering. An aborted request in your application is different from an invalid image response from the API.

ChatGPT cannot open an attachment

Use an actual PNG/JPG/GIF/BMP/WebP attachment with the Vectali connection selected. ChatGPT supplies its file reference automatically; do not paste a website URL, local path, or base64 text. file_unavailable means the download expired or could not finish. unsupported_file_host means its location was rejected before downloading. Reattach the original once; if it fails again, contact support with the error code and time. Never share signed file URLs or tokens.

If ChatGPT displays “response-loading” errors, check whether a fresh chat can answer a simple message without tools. Failure in that control does not establish a Vectali conversion failure. Reload ChatGPT and retry when it responds. An interrupted reply may still have completed a conversion: use the saved conversion ID with get_conversion, or reattach identical bytes without an explicit request ID to recover the automatic result without another charge. Do not claim success until a valid SVG download is available.

Ask Vectali to retrieve the saved conversion. get_conversion returns a fresh ten-minute link without tracing or consuming another allowance. Deleted conversions cannot be recovered this way.

A useful next step? Read the journal