Skip to main content

PostWarning

A non-blocking warning on a successful create or update (the post was saved) or in a dry run (validatePost): something will not behave as you may expect. Log the code.

  • ai_media_without_disclosure: the post uses media from the AI image endpoints but ai_generated is false, so no network AI label is applied.
  • meta_first_comment_unavailable: a Facebook Page or Instagram first comment cannot be published yet (Meta is reviewing our access); the post itself publishes.
  • linkedin_first_comment_unavailable: LinkedIn first comments are not enabled on this server, so only the first content item is posted; the post itself publishes.
  • youtube_description_too_long: the YouTube description is over 5,000 bytes (UTF-8; emoji and non-Latin letters take 2 to 4 bytes each), so YouTube will reject the upload.
  • youtube_forbidden_characters: the YouTube title or description contains < or &gt;, which YouTube does not allow, so the upload will fail.
  • threads_too_long: a Threads post is over 500 characters as Threads counts them (each emoji counts as its UTF-8 bytes, most as 4), so Threads will reject it.
  • instagram_image_ratio: an image in an Instagram feed post is outside 4:5 to 1.91:1 (for example a 3:4 phone photo), so Instagram will reject it. Crop it to 4:5.
  • threads_too_many_links: a Threads post has more than 5 different http(s):// links, so Threads will reject it. Each post of a reply chain is checked on its own.

New codes are added as new checks ship: treat a code you do not know as a warning and log it.

codestringrequired

One of the codes above. The list grows over time (x-extensible-enum), so accept unknown values.

account_idinteger | nullnullablerequired

The account the warning is about; null when it is about the whole post.

messagestringrequired
PostWarning
{
"code": "string",
"account_id": 0,
"message": "string"
}