Response to web API requests: 404: Not found

VARIATION_DOES_NOT_EXIST_ERROR

The request failed because the variation_ID for the requested paywall couldn’t be found. Check that the placement_id you’re requesting exists in the app and that there are no typos in it in your request.

Body

ParameterTypeDescription
errorsObject
  • source: (string) Always bull.
  • errors: A description of the error.
error_codeStringShort error name. Possible value: VARIATION_DOES_NOT_EXIST_ERROR.
status_codeIntegerHTTP status. Always 404.

Response example

{
    "errors": [
        {
            "source": null,
            "errors": [
                "Variation for example_onboarding does not exist."
            ]
        }
    ],
    "error_code": "VARIATION_DOES_NOT_EXIST_ERROR",
    "status_code": 404
}

profile_does_not_exist

The request failed because the specified profile wasn’t found. Double-check the `customer_user_id` or `profile_id` for any typos.
Body
ParameterTypeDescription
errorsObject
  • source: (string) Always null.
  • errors: A description of the error.
error_codeStringShort error name. Always profile_does_not_exist.
status_codeIntegerHTTP status. Always 404.
Response example
{
    "errors": [
        {
            "source": null,
            "errors": [
                "Profile not found"
            ]
        }
    ],
    "error_code": "profile_does_not_exist",
    "status_code": 404
}