---
title: "Required Open Graph tags missing (og:title, og:type, og:image, og:url) (seo/og-missing)"
description: "seo/og-missing: Link previews in Slack, LinkedIn, iMessage, X and chat assistants fall back to guesses or no card at all."
canonical: https://void-design.vercel.app/rules/seo/og-missing
lastModified: 2026-09-16
---

# Required Open Graph tags missing (og:title, og:type, og:image, og:url)

`seo/og-missing` · severity **error** · category SEO · detected by `void seo` and `void audit`

## Why it matters

Link previews in Slack, LinkedIn, iMessage, X and chat assistants fall back to guesses or no card at all.

## How to fix it

Set openGraph in metadata (with metadataBase) and add an opengraph-image file.

## Example

```tsx
// app/blog/[slug]/opengraph-image.tsx — 1200×630 PNG, referenced automatically as og:image
import { ImageResponse } from 'next/og'
export const alt = 'Acme blog post'
export const size = { width: 1200, height: 630 }
export const contentType = 'image/png'
export default async function Image({ params }: { params: Promise<{ slug: string }> }) {
  const { slug } = await params
  const post = await getPost(slug)
  return new ImageResponse(<div style={{ display: 'flex', width: '100%', height: '100%', padding: 80, fontSize: 72 }}>{post.title}</div>, size)
}
```

## References

- https://ogp.me/
- https://nextjs.org/docs/app/api-reference/file-conventions/metadata/opengraph-image

## More seo rules

`void seo` reports 60 rules in this category. What search engines need from the raw response: status codes, titles and descriptions in <head>, self-referencing canonicals, one h1, crawlable links, Open Graph, icons, robots.txt and a sitemap with real dates.

- `broken-links` Internal links return 4xx/5xx (or go through redirects) — [seo/broken-links](https://void-design.vercel.app/rules/seo/broken-links)
- `trailing-slash` Both trailing-slash and non-slash URLs serve 200 — [seo/trailing-slash](https://void-design.vercel.app/rules/seo/trailing-slash)
- `hreflang-invalid` hreflang uses invalid codes or relative URLs — [seo/hreflang-invalid](https://void-design.vercel.app/rules/seo/hreflang-invalid)
- `hreflang-not-reciprocal` hreflang set isn't self-referencing and reciprocal — [seo/hreflang-not-reciprocal](https://void-design.vercel.app/rules/seo/hreflang-not-reciprocal)
- `og-incomplete` og:description / og:site_name missing, or og:url ≠ canonical — [seo/og-incomplete](https://void-design.vercel.app/rules/seo/og-incomplete)
- `og-image-invalid` og:image isn't a reachable, absolute, raster image within size limits — [seo/og-image-invalid](https://void-design.vercel.app/rules/seo/og-image-invalid)
- `og-image-size` og:image is smaller than 1200×630 or far from 1.91:1 — [seo/og-image-size](https://void-design.vercel.app/rules/seo/og-image-size)
- `og-image-meta` og:image:width/height missing or wrong, or og:image:alt missing — [seo/og-image-meta](https://void-design.vercel.app/rules/seo/og-image-meta)

Detected by `void seo` and `void audit`. Explain it in a terminal: `void rules seo/og-missing`
