Açıklamalar İngilizce
template_access_denied — no access to the template
Ne oldu
The order was not created. The response is HTTP 403 with the body {"success": false, "message": "…", "reason": "template_access_denied"}. The code comes on an order retry (POST /orders/{order}/retry) when the template of the original order is no longer available.
Neden
The template belongs to another account, and its owner made it private. Orders can no longer be created from it. In POST /orders, another account's private template looks the same as a nonexistent one: a 422 with the template_id field in errors.
Şimdi ne yapmalı
Such an order cannot be retried. Create a new order from your own template or a public one. A template belongs to the account, not to a key: a template created in your account works through the API, and the other way round.
Sırada hangi istek gönderilmeli
GET /templates/{template} returns 200 only to the template owner. For another account's template it returns 403, and for a nonexistent one 404. Your own templates are listed by GET /templates.
Sonra nereye gitmeli
Yapay zekâ için bu sayfa
API sürümü 1.0.0