Skip to content
Docs
Reference

ASSET_TYPE_NOT_ALLOWED

File type not allowed for this asset

File type not allowed for this asset

HTTP status 400 Bad Request, code ASSET_TYPE_NOT_ALLOWED.

What it means#

The uploaded file is not a type the asset's purpose takes: an image for most purposes, and for seat_map_source a PDF, PNG, JPEG or WebP whose bytes are what its content type says, or a seat list as text/csv or text/plain that reads as UTF-8 text. details names the type sent, the type detected and the types allowed.

What to do#

Upload one of the allowed types. A seating plan in another format (a CAD drawing, a spreadsheet) can be exported to PDF, or its seats exported as a CSV saved as UTF-8 and uploaded or sent with POST /venues/{id}/plans/{planId}/versions/{versionId}/import-csv.

On the wire#

Every error response carrying this code names this page in error.moreInfo, with the request id in the query string. See Error codes for the response shape and the list of every code.