dosubot[bot] commented on issue #38420:
URL: https://github.com/apache/superset/issues/38420#issuecomment-4001441659

   <!-- Answer -->
   Superset supports a **TEXT** report format that sends only a link to the 
dashboard/chart without generating or attaching any files (PNG/PDF/CSV).
   
   When creating or editing your scheduled report, set the **Report Format** to 
`TEXT` instead of `PNG` or `PDF`. This can be done either through the UI when 
configuring the report schedule, or via the API by setting `"report_format": 
"TEXT"`.
   
   The [available 
formats](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset/reports/models.py#L76-L80)
 are:
   - `PNG` (default) - Image attachment
   - `PDF` - PDF document attachment
   - `CSV` - Data file attachment
   - `TEXT` - Link-only notification, no attachment
   
   Using `TEXT` format should avoid the 413/400 errors since there's no large 
payload being sent to Mattermost—just a JSON message with the dashboard URL.
   
   
   <!-- Dosu Comment Footer -->
   *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).*
   
   ---
   <sup>How did I do? 
[Good](https://app.dosu.dev/response-feedback/853629cb-9fea-438f-9457-be326208ec67?feedback_type=great_response)
 | 
[Irrelevant](https://app.dosu.dev/response-feedback/853629cb-9fea-438f-9457-be326208ec67?feedback_type=irrelevant_answer)
 | 
[Incorrect](https://app.dosu.dev/response-feedback/853629cb-9fea-438f-9457-be326208ec67?feedback_type=incorrect_sources)
 | 
[Verbose](https://app.dosu.dev/response-feedback/853629cb-9fea-438f-9457-be326208ec67?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/853629cb-9fea-438f-9457-be326208ec67?feedback_type=hallucination)
 | [Report 
šŸ›](https://app.dosu.dev/response-feedback/853629cb-9fea-438f-9457-be326208ec67?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/853629cb-9fea-438f-9457-be326208ec67?feedback_type=other)</sup>
   
   [![Chat with 
Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=github)&nbsp;[![Open
 in 
Cursor](https://dosu.dev/dosu-in-cursor.svg)](https://cursor.com/link/prompt?text=Superset%20supports%20a%20%2A%2ATEXT%2A%2A%20report%20format%20that%20sends%20only%20a%20link%20to%20the%20dashboard/chart%20without%20generating%20or%20attaching%20any%20files%20%28PNG/PDF/CSV%29.%0A%0AWhen%20creating%20or%20editing%20your%20scheduled%20report%2C%20set%20the%20%2A%2AReport%20Format%2A%2A%20to%20%60TEXT%60%20instead%20of%20%60PNG%60%20or%20%60PDF%60.%20This%20can%20be%20done%20either%20through%20the%20UI%20when%20configuring%20the%20report%20schedule%2C%20or%20via%20the%20API%20by%20setting%20%60%22report_format%22%3A%20%22TEXT%22%60.%0A%0AThe%20%5Bavailable%20formats%5D%28https%3A//github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset/reports/models.py%23L76-L80%29%20are%3A%0A-%20%60PNG%60%20%28default%
 
29%20-%20Image%20attachment%0A-%20%60PDF%60%20-%20PDF%20document%20attachment%0A-%20%60CSV%60%20-%20Data%20file%20attachment%0A-%20%60TEXT%60%20-%20Link-only%20notification%2C%20no%20attachment%0A%0AUsing%20%60TEXT%60%20format%20should%20avoid%20the%20413/400%20errors%20since%20there%27s%20no%20large%20payload%20being%20sent%20to%20Mattermost%E2%80%94just%20a%20JSON%20message%20with%20the%20dashboard%20URL.)&nbsp;[![Join
 
Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share
 on 
X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/issues/38420)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to