---
title: "LinkedIn error codes"
description: "Troubleshooting LinkedIn OAuth expiry, caption limits, and 100 MB PDF document publishing errors."
---

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

# LinkedIn error codes

LinkedIn supports text posts, single-image posts, and native PDF document
carousels up to 100 MB. LinkedIn OAuth tokens expire periodically and require
member re-authorization when refresh windows lapse.

## Common LinkedIn errors

| Code / Symptom                      | Retryable       | Cause                                                                             | How to fix                                                                                                     |
| ----------------------------------- | --------------- | --------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- |
| `account_not_ready`                 | After reconnect | LinkedIn OAuth access/refresh token expired or was revoked.                       | Reconnect the LinkedIn member account in the PubNio workspace.                                                 |
| `caption_too_long`                  | No              | Post commentary exceeds LinkedIn's 3,000-character limit.                         | Trim the caption or supply a LinkedIn-specific text override on the target.                                    |
| `media_too_large`                   | No              | Attached PDF document exceeds 100 MB (or image exceeds LinkedIn limits).          | Compress the PDF below 100 MB and re-import via `POST /api/v1/media/import`.                                   |
| `media_mime_type`                   | No              | Document attachment is not `application/pdf` or image format is unsupported.      | Export slides to standard PDF (`application/pdf`) or JPEG/PNG.                                                 |
| `media_count`                       | No              | More than one image or document attached on a single-asset LinkedIn placement.    | Attach a single image or combine multiple slides into one PDF document.                                        |
| Duplicate content rejection (`422`) | No              | LinkedIn rejects identical duplicate text posted rapidly to the same member feed. | Vary commentary or check `GET /api/v1/posts/{postId}` to confirm whether an earlier attempt already published. |

## Related

- [LinkedIn Publishing API](https://pubnio.com/platforms/linkedin)
- [All PubNio error codes](https://pubnio.com/docs/errors/)

Source: https://pubnio.com/docs/errors/linkedin/index.mdx
