fixed
Validation on embed block URLs
over 3 years ago by Alma Wang
The public API will now return errors on embeds blocks that are not supported by the public API. The supported embed block types (as listed and kept up to date in the Block Object documentation):
- Framer
- Twitter (tweets)
- Google Drive documents
- Gist
- Figma
- Invision,
- Loom
- Typeform
- Codepen
- PDFs
- Google Maps
- Whimisical
- Miro
- Abstract
- Excalidraw
- Sketch
- Replit
Previously failed embeds would return a successful request, but produce an error in the Notion Application. Failed embed requests will now return a 400 Client Error.
For non embed URLs, consider using the bookmark
or image
block types.