Skip to content

Reddit error INVALID_URL: Link URL rejected

Reddit error INVALID_URL: Link URL rejected. The cause, the fix, whether a retry is safe, and the PubNio delivery issue it settles.

Reddit error INVALID_URL is “Link URL rejected”. No official Reddit source describes it. A publish that gets it fails with provider_rejected.

Exact error

json.errors[0][0]: INVALID_URL; HTTP 200.

{
  "json": {
    "errors": [["INVALID_URL", "", "url"]]
  }
}

Returned by POST /api/submit.

Cause

PubNio’s adapter names this code for a link URL Reddit refuses. Reddit’s archived source names that error BAD_URL instead.

Fix

Send a full https URL that opens without a login.

Retry safety

Yes, once the cause is fixed: the provider created nothing, and an unchanged resend fails again.

PubNio issue

  • On a publish: provider_rejected, status failed; error kind invalid_request.
  • Detail: “Reddit rejected the link URL.”

Observed

Replayed through the adapter in packages/core/test/provider-error-catalog.test.ts.

Limits

Another Reddit endpoint can return INVALID_URL for another reason. Reddit has no public error catalog; meanings come from its archived source. Not indexed: no official source states this code.

Sources

  • PubNio: packages/core/src/integration/providers/reddit.ts#redditError, packages/core/src/integration/runtime/errors.ts#providerRejected, packages/core/src/post/delivery-store.ts#settleSubmission

Type to search…

↑↓ navigate↵ selectEsc close