Troubleshooting
Last updated
Was this helpful?
Last updated
Was this helpful?
Here you can find the most common issues you may encounter in our API integration.
Our API returns a JSON-formatted response.
If your client does not accept application/json, you may encounter some weird responses such as HTML or not well-formatted response messages.
To avoid any confusion, always send the "Accept: application/json" header parameter in any API call.
If you get 401 status code and the following response:
You are probably missing the x-api-key header in your API call or your API key is not valid.
To get your API Key you can create one visiting page.
Our requires Mockup UUID to know what mockup you want to render.
If you provided an invalid Mockup UUID or didn't provide it at all you may see this response:
There are two ways to fix this issue.
One is to copy Mockup UUID from the web application URL. Example image below.
If you provided an invalid Smart Object UUID you may see this response:
There are two ways to fix this issue.
One is to copy Smart Object UUID from the web application URL. Example image below.
If you provide any other, such as SVG, you may see this response:
This is not an expected behavior from our API.
Another way is to call to get all the available mockups from your account and their Mockup UUIDs.
Same as Mockup UUID, our requires Smart Object UUID to know what place inside a mockup you want to render and where you probably want to put your design asset.
Another way is to call to get all the available mockups from your account and their available smart objects with UUIDs.
When you provide the design asset you want to render on the mockup using , we accept the following file extensions: JPG, JPEG, PNG, WEBP, GIF
In this case, please and we will resolve the issue as soon as possible.