Errors

too_many_link_previews

Too many links read at once

The console reads what is behind a link so it can draw a card under it, and an account may only ask about so many links a minute. Reading a conversation never approaches this: a link is fetched once and then answered from cache for everybody on the account.

What to do

Wait for the number of seconds in the Retry-After header. Nothing is lost when this happens - a link with no card under it is still a link, and the card appears the next time the conversation is opened.

The shape

{
  "error": {
    "type": "...",
    "code": "too_many_link_previews",
    "message": "...",
    "docs": "https://docs.njiwa.upeo.ai/errors/too_many_link_previews"
  }
}