โ๏ธ Gamma's going global! We'll be live in Seoul, London, and Sรฃo Paulo in March. Learn more here: https://gamma.app/events/world-tour
๐ When using https://public-api.gamma.app/v1.0/generations/from-template and then https://public-api.gamma.app/v1.0/generations/yyyyyyyyyy to get a downloadLink the URL is https://assets.api.gamma.app/export/pptx/[...]/Untitled.pptx - on the Gamma UI I do see Gammz name + when exporting in PPTX via the app it has a name as well
Hey! Yeah, this sounds like it might be a polling timing issue. The export filename might not be fully populated until the generation is completely done. Quick questions to help debug: Which endpoint are you using? Just want to confirm - are you on /v1.0/generations/from-template or the legacy /v0.2/generations? How long are you waiting? When you poll the GET endpoint, what's the status showing? Are you waiting until it returns "status": "completed" before grabbing the download link? The export process is async, so if you're grabbing the link too early it might still show "Untitled.pptx" as a placeholder. Try making sure the status is fully completed before accessing the download link. If you're already doing that and it's still showing Untitled, can you share the full JSON response you're getting (sanitized)? That'll help me figure out if it's a bug with the template-based generation exports.
Hey Max, Thanks for following-up. I'm using /v1.0/generations/from-template and polling every 5000ms and once "status": "completed" - I perform one last call to get the download link. Here's the payload I'm getting
{
generationId: '----',
status: 'completed',
gammaUrl: 'https://gamma.app/docs/---',
downloadLink: 'https://assets.api.gamma.app/export/pptx/---/-------/Untitled.pptx'
}
Hey FK! Thanks for the detailed info on your polling setup - that all looks correct. To troubleshoot this properly, I need to see your full request body for the /v1.0/generations/from-template endpoint. Can you share:
Your complete POST request to /v1.0/generations/from-template (sanitize any sensitive data like API keys, but keep all the parameters you're sending)
The template ID you're using
When you open that gammaUrl in the browser, what title does the Gamma show? Is it "Untitled" there too, or does it have a proper name?
This will help me figure out whether it's a parameter issue, something specific to how the template exports work, or something else entirely.
Haven't got the time to try yet.
