The submitted cursor is not valid. Please contact support@stytch.com for assistance.
400 errors
dfp_rule_invalid_cursor
Error
{
"status_code": 400,
"request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
"error_type": "dfp_rule_invalid_cursor",
"error_message": "The submitted cursor is not valid. Please contact support@stytch.com for assistance.",
"error_url": "https://stytch.com/docs/fraud/api/errors/400#dfp_rule_invalid_cursor"
}
invalid_action_for_rules
The action provided is invalid. The action must be 'ALLOW', 'BLOCK', 'CHALLENGE', or 'NONE'.
Error
{
"status_code": 400,
"request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
"error_type": "invalid_action_for_rules",
"error_message": "The action provided is invalid. The action must be 'ALLOW', 'BLOCK', 'CHALLENGE', or 'NONE'.",
"error_url": "https://stytch.com/docs/fraud/api/errors/400#invalid_action_for_rules"
}
invalid_fingerprint_or_id
The fingerprint or ID provided was invalid.
Error
{
"status_code": 400,
"request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
"error_type": "invalid_fingerprint_or_id",
"error_message": "The fingerprint or ID provided was invalid.",
"error_url": "https://stytch.com/docs/fraud/api/errors/400#invalid_fingerprint_or_id"
}
invalid_project_id_authentication
The project ID provided in the basic authentication header is invalid. Please check to make sure the format is correct and there are no trailing whitespaces. To view your project ID please visit the Stytch dashboard here.
Error
{
"status_code": 400,
"request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
"error_type": "invalid_project_id_authentication",
"error_message": "The project ID provided in the basic authentication header is invalid. Please check to make sure the format is correct and there are no trailing whitespaces. To create a new project or confirm an existing project ID please visit the Stytch dashboard here: https://stytch.com/dashboard/api-keys.",
"error_url": "https://stytch.com/docs/fraud/api/errors/400#invalid_project_id_authentication"
}
invalid_public_token_id
The public_token used to instantiate the Stytch SDK is invalid. You can find your public_token in the API keys section of the Stytch Dashboard.
Common causes
No public_token was passed in when loading the Stytch SDK.
The public_token passed was invalid, e.g. it contains quotes, was of an incorrect length or format, etc.
Troubleshooting steps
Check that your environment contains your Stytch public_token.
Check that you’re passing the public_token in via the correct method. You can see how to launch each Stytch SDK by visiting their respective Docs.
Error
{
"status_code": 400,
"request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
"error_type": "invalid_public_token_id",
"error_message": "public_token_id format is invalid.",
"error_url": "https://stytch.com/docs/fraud/api/errors/400#invalid_public_token_id"
}
invalid_request_error
The request was invalid.
Error
{
"status_code": 400,
"request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
"error_type": "invalid_request_error",
"error_message": "The request was invalid.",
"error_url": "https://stytch.com/docs/fraud/api/errors/400#invalid_request_error"
}
invalid_secret_authentication
The secret provided in the basic authentication header is invalid. Please check to make sure the format is correct and there are no trailing whitespaces. To create a new secret for your project or to confirm an existing secret please visit the Stytch dashboard here.
Error
{
"status_code": 400,
"request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
"error_type": "invalid_secret_authentication",
"error_message": "The secret provided in the basic authentication header is invalid. Please check to make sure the format is correct and there are no trailing whitespaces. To create a new secret for your project or to confirm an existing secret please visit the Stytch dashboard here: https://stytch.com/dashboard/api-keys.",
"error_url": "https://stytch.com/docs/fraud/api/errors/400#invalid_secret_authentication"
}
multiple_fingerprints_provided
The request included multiple fingerprints and/or IDs. The SetRules endpoint can only modify one fingerprint or ID at a time.
Error
{
"status_code": 400,
"request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
"error_type": "multiple_fingerprints_provided",
"error_message": "The request included multiple fingerprints and/or IDs. The SetRules endpoint can only modify one fingerprint or ID at a time.",
"error_url": "https://stytch.com/docs/fraud/api/errors/400#multiple_fingerprints_provided"
}
no_fingerprint_provided
The request did not include a fingerprint or an ID. The Set Rules endpoint needs a fingerprint or an ID to be able to set a rule.
Error
{
"status_code": 400,
"request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
"error_type": "no_fingerprint_provided",
"error_message": "The request did not include a fingerprint or an ID. The Set Rules endpoint needs a fingerprint or an ID to be able to set a rule.",
"error_url": "https://stytch.com/docs/fraud/api/errors/400#no_fingerprint_provided"
}
project_id_secret_required
This request is using a public token, but a project ID and secret are required. Please provide a valid project ID and secret in the basic authentication header.
Error
{
"status_code": 400,
"request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
"error_type": "project_id_secret_required",
"error_message": "This request is using a public token, but a project ID and secret are required. Please provide a valid project ID and secret in the basic authentication header.",
"error_url": "https://stytch.com/docs/fraud/api/errors/400#project_id_secret_required"
}