Warnings
Understanding warning messages in API responses.
In some cases, you may receive file-level warnings in response to a generation request. These flag ignored or adjusted options that apply to the whole gamma — for example, sharing settings, folder assignment, or card dimensions.
For example, if you specify 1x1 dimensions for a presentation, Gamma uses a valid default instead and returns a warning explaining the change.
Quick reference
Warnings do not stop generation.
A warning usually means Gamma ignored a conflicting or incompatible parameter for the whole gamma.
Common file-level cases include ignored sharing options, folder restrictions, and invalid dimension/format combinations.
The warning string is returned alongside
generationIdin the creation response.
Common warning scenarios
Conflicting format and dimensions
If you specify card dimensions that don't match your chosen format, Gamma will use a valid default.
Request:
{
"format": "presentation",
"inputText": "Best hikes in the United States",
"cardOptions": {
"dimensions": "1x1"
}
}Response:
Valid Dimensions by Format
presentation
16x9, 4x3, fluid
document
pageless, letter, a4, fluid
social
1x1, 4x5, 9x16
webpage
fluid
Conflicting image source and model
If you specify an image model but the source is not aiGenerated, the model will be ignored.
Request:
Response:
textMode preserve with textOptions
When using textMode: "preserve", text generation options like amount, tone, and audience are ignored since your original text is being preserved.
Request:
Response:
Image generation warnings
Standalone image requests (POST /v1.0/images) return structured warnings in the warnings array. Each entry has a code and message. Warnings are informational — the generation still proceeds.
no_brand_theme_applied
No brand theme was found; a standard theme was used
theme_ignored_for_type
themeId was ignored because type is scene
theme_skipped_for_references
themeId was ignored because referenceImages were provided
curated_style_skipped_for_references
type was ignored because referenceImages were provided
Warnings can appear on the create response and again on the completed status response from GET /images/{id}.
Agent generation warnings
Agent generation requests (POST /v1.0/agent/generations) return structured warnings in the warnings array. Each entry has a code and message. Warnings are informational — the generation still proceeds unless the request fails with a fatal error.
Common cases include ignored or admin-restricted sharingOptions, a folderId that could not be applied, export failures when exportAs is set, and email invite issues. Warnings can appear on the create response and again on the completed or failed status response from GET /agent/generations/{generationId}. See the OpenAPI block on that page for the full warning code enum.
Workspace-restricted sharing fields
If a workspace admin has restricted workspace sharing or disabled access links, Gamma strips the corresponding sharingOptions field from your request and returns a warning. The generation still completes using the admin-enforced default.
Request:
Response (workspace sharing restricted):
Response (access links disabled):
Best practices
Log and review warnings during development so ignored parameters are easy to spot.
Match
formatandcardOptions.dimensionsto avoid unexpected defaults.Only specify
imageOptions.modelwhenimageOptions.sourceisaiGenerated.Treat
textMode: "preserve"as higher priority than text-generation settings likeamount,tone, oraudience.
Related
Error codes for fatal API errors
Generate from text for parameter interactions that commonly produce warnings
Generate from template for the template-specific workflow
POST /images for standalone image generation warnings
Last updated
Was this helpful?