Creative (errors)

Errors when creating a creative from an archive

Various errors may occur when creating a creative by uploading an archive. This article describes steps that should be taken when an error occurs.
If one of the following errors occurs:

  • Data validation error. File failed to meet the upload requirements
  • Failed to extract file from archive
  • Failed to copy file
  • Failed to retrieve file data
  • Error: HTML file not found
  • Failed to upload file
    Failed to upload file by the link
    check archive format, file extension in it, html file in it, and also check the archive for compliance with the following requirements:
  • Archive in zip format.
  • The maximum archive size is 6 MB.
  • The archive can contain pictures only in the following formats: gif, jpeg, jpg, png.
  • Files in the archive can be only in the following formats: html, js, css, swf, svg.

If the error is “Invalid file extension”, check all archive files for compliance with the list of allowed extensions, the file extension may not be in the list of allowed ones.
Supported extensions:

Files:Allowed extensions:
'image'jpg, jpeg, gif, png
'js'js
'svg'svg
'css'css

Below you can see some more errors and solutions:

ErrorsSteps to follow
Invalid valuecheck the contents of the archive files. Make sure that the size is not 0 bytes (empty file)
File size is more than 6 Mbupload a file less than 6 MB
File not foundmake sure that the file has been uploaded correctly. For example, it can be a wrong file
Invalid file typecheck archive file extension (zip only), as well as the extension of all files inside the archive, see the list of supported extensions in the table above.
Invalid image width or heightcheck the image file size, make sure it is correct
File not found. Wrong URLcheck the URL of an external source, possibly it is a non-existent URL.
Invalid file format. ZIP archive requiredcheck the uploaded file, most likely you have uploaded a wrong file, check and try again.

There are also some errors that appear when content of the html file in the archive is not correct:

ErrorsSteps to follow
Code must contain {LINK_UNESC} macromake sure that this macro is present in the html file
Any link must contain {LINK_UNESC} macromake sure that this macro is present in all links in the html file
Failed to upload metadata. Wrong meta tag size formatcheck the html file, maybe a literal string is specified instead of an integer value.
Failed to upload metadata. Meta tag size not foundcheck the html file, most likely the creative size is not specified "width = XXX, height = YYY"
Failed to upload metadata. Wrong file sizeCheck the html file, perhaps the size specified in the meta tag does not match the list of allowed sizes. e.g, the size is 1х16 px, where width = 1, height = 16

Follow the link to download an example of correct zip archive for creating a creative