> ## Documentation Index
> Fetch the complete documentation index at: https://docs.trypekto.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Troubleshooting

> Fixes for the common problems.

<AccordionGroup>
  <Accordion title="My AI tool can't connect">
    Check the URL is exactly `https://api.trypekto.com/mcp`. Remove the server and add it again, then sign in when asked. If your tool doesn't support sign-in, use an [API key](/authentication#api-keys) as a Bearer header.
  </Accordion>

  <Accordion title="The assistant made a deck when I wanted a carousel">
    Say "carousel" and the platform ("a LinkedIn carousel"). The assistant should then call `create_presentation` with `format: "carousel"`.
  </Accordion>

  <Accordion title="The carousel isn't in the style I wanted">
    Name the theme ("in Minimal Serif") or pass its id as `template_family`. See the [theme list](/guides/carousels#themes).
  </Accordion>

  <Accordion title="Copy is too generic">
    Send the full source text in `content`, not only a topic or a link, and add `audience`, `objective` and `tone`.
  </Accordion>

  <Accordion title="The request timed out but credits were used">
    Generation may have finished after your client gave up. Look for the project with `GET /projects`, or retry with the same `Idempotency-Key` to get the same result without a second charge.
  </Accordion>

  <Accordion title="403 insufficient_scope">
    Create a key that includes the scope named in `details.required_scope`. Keys can't be edited after creation.
  </Accordion>

  <Accordion title="400 unsafe_content when updating a slide">
    The SVG contains something Pekto doesn't allow (scripts, event handlers, `javascript:` links). Start from the slide's current `svgContent` and change only text or attributes.
  </Accordion>

  <Accordion title="Image or document post rejected with invalid_media">
    `media_urls` must point at files in your own Pekto media folder. To post a carousel as a PDF, use **Publish and Schedule** in the Pekto editor.
  </Accordion>
</AccordionGroup>

Still stuck? See [Get help](/support).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.