Fimfiction Developers

400 - Bad Request

  • 4001 - Invalid Body

    The body of the request was not valid. It should be valid JSON.

  • 4002 - Invalid Include

    The requested included resource was not valid.

403 - Forbidden

  • 4030 - Invalid Permission

    Returned whenever you try to do something the authenticated user is not allowed to do. For example, trying to edit a story the user does not own will return this error.

  • 4031 - Missing Scope

    The scope for this request was not set for the token being used. Returned, for example, if you tried to edit a story without write_stories

  • 4032 - Invalid Token

    The token used for the request was not valid. Either check you have the data correct or request a new token via the auth flow.

404 - Not Found

  • 4040 - Resource Not Found

    The requested resource was not found. Will return if the resource you're querying for a collection of does not exist either.

  • 4041 - Invalid Application

    The requested application does not exist. Returned whenever client_id is submitted and a corresponding application does not exist.

  • 4042 - Endpoint Missing

    The requested endpoint does not exist. Check you have the correct HTTP method as this is frequently the cause. Also check you are not trying to using string values for variables that expect numeric inputs.

422 - Unprocessable Entity

  • 4220 - Missing Parameter

    A parameter required for the request was not present.

  • 4221 - Invalid Argument

  • 4222 - Incorrect Secret

    The secret submitted as part of a token exchange was incorrect. Check you have the correct secret for the client ID you are using.

  • 4223 - Invalid Grant Type

    The grant type provided as part of a token exchange was not permitted. The error contains the grant types that are supported.

  • 4224 - Missing Authorization Header

    The authorization header was missing. Submit a Authorization header with your request in order to be authenticated.

  • 4225 - Invalid Attributes

    Some or all of the submitted attributes as part of a PATCH/POST request were not valid.

  • 4226 - Unsupported Attribute

    One of the attributes submitted is not supported. Check the resource documentation to find out what attributes are valid for each type.

  • 4227 - Invalid Filter

    The provided filter is not supported. Check the documentation for the endpoint to see what filters are supported, if any.

  • 4228 - Invalid Pagination

    One or more of the pagination properties provided was not valid. Check the documentation for the endpoint to see what pagination strategy is employed.

  • 4229 - Malformed Authorization Header

    The HTTP Authorization header was malformed. It should be in the format of Bearer access_token. Check the OAuth login flow documentation for more help.

  • 42210 - Invalid Attribute

    One or more of the attributes provided as part of a PATCH/POST request was not valid.

  • 42211 - Invalid Sort Field

    The provided sort field is not valid. Check the endpoint documentation to find out what sort fields are available, if any.

  • 42212 - Malformed Sort Field

    The provided sort field was malformed. Check the {json:api} documentation to see what format sorts should be provided in.

429 - Rate Limiting

  • 4290 - Rate Limited

    The application has been rate limited and may not make any more requests. Check the exception data to see rate limiting information.