CreatorHero
Guides

Errors

The API describes errors as RFC 9457 application/problem+json. Two schemas in the document match that shape: ProblemDetail and ErrorSchema.

FieldMeaning
typeURI that identifies the problem type. The schema example is about:blank.
titleShort summary, such as "Bad Request".
statusHTTP status code.
detailExplanation of this occurrence. The field can be omitted.
instanceURI for this occurrence. The schema example is /error.
propertiesExtra fields. Present on ProblemDetail only.

Not every error has a body. Read status from the HTTP response first, then title and detail when a body is present. A 204 has no body.

Status codes

StatusWhen the reference uses it
200Success, with a body.
201A resource was created, such as a bulk message.
202Accepted. The large tracking-message export returns a job id to poll.
204Success, with an empty body. Typical of deletes.
400The body is invalid, or a required field is missing.
401The API key is missing or invalid. See Authentication.
403Not allowed: no permission, or this operation isn't available with an API key.
404The requested resource was not found.
409The resource conflicts with current state, such as a duplicate name or a social account that is already connected.
429Too many requests. See the rate limit below.
502OnlyFans is unavailable or returned an error.

403 is the status you will handle most often after 200. The description on the operation says which check failed.

Rate limit

The limit is 50 requests per 60 seconds per user. Over the limit, the response is 429. Wait and retry. Do not retry a 400 or a 403 without changing the request.

OnlyFans failures

Some operations call OnlyFans for you. When OnlyFans is unavailable or fails the request, the response is 502.

Last modified on