Validation or business-rule violation, e.g. conflict between url and file. Business-rule errors return { "error": "<message>" }; field-level validation errors return { "error": [{ "field": "...", "message": "..." }] }. A template is only accepted for an approved agent of the app you authenticate with: an agent_id that does not exist, belongs to another app, is not approved yet or has no active line at the provider yet is refused, and the response names the agent and what is wrong with it. Register the agent with POST /v1/rcs/agents. Every image given as media_url is downloaded when the template is created and kept by LigueLead, and the template's sends use that copy: it must be served over HTTPS on port 443 with a valid certificate, from a public address, answer with a 2xx that delivers the whole image within 3 seconds (at most 3 redirects, all HTTPS) and be declared as, and actually be, a JPEG, PNG or GIF image that is not empty and fits the size limit (2 MB). An image that fails is refused before anything is created, and the response names the template's image and why. A media_file, or an image LigueLead already stores, is not downloaded.