Home Docs Error help

Anonymous pastes need an expiry

Error code anonymous_expiry_required
Publishing a paste

Anonymous pastes need an expiry

anonymous_expiry_required

When you publish without signing in, the paste must have an expiry date.

HTTP 400·Publishing a paste

What it means

What happened

When you publish without signing in, the paste must have an expiry date.

Why

Why it might have happened

  • Anonymous pastes need automatic cleanup.
  • The expiry field was left as Never or was not sent.
Next steps

What you can try

  1. Choose an expiry of 90 days or less.
  2. If you need a paste that does not expire, sign in first.
  3. Publish again after choosing the expiry.
Related
Still stuck?

Get help

If the error keeps happening, send feedback or contact us and include anonymous_expiry_required plus what you were trying to do.

Contact and feedback options