Client Response Codes

Refer to the below response code glossary to help you troubleshoot any errors when using the JavaScript SDK or Embeddable Elements.

Glossary

Response Code

Messages

Explanation

200 OK

The request was successful!

N/A

400 Bad Request

Participant cannot join this program.

The participant was prevented from being added to the program (please check that your program's anti-fraud settings are not set to Strict, or that you do not have the email or IP address blacklisted)

401 Unauthorized

Participant authentication is required.

If an existing participant is trying to access their account, they need to first authenticate (by logging in via one-time access token link in email)

401 Failed to add participant

Participant was not able to join this program.

The person may be a high-risk fraudster, and has been blocked from entering the program. Learn more about how GrowSurf's anti-fraud system worksarrow-up-right.

402

Usage limit exceeded

N/A

403 Forbidden

  1. You are not allowed to perform that action.

  2. No valid participant access token provided.

  3. Request was blocked (includes CORS issues)

  1. This may be due to the URL not matching what is configured for your program. Make sure to check your whitelisted URLs as well. Any URLs that makes excessive unauthorized requests to your GrowSurf program may be blocked. Please reach out to [email protected] for assistance.

  2. If an existing participant is trying to access their account, they need to first authenticate (by logging in via one-time access token link in email)

  3. Your program may be blocked due to excessive requests made to our system from the same IP address. Please see this articlearrow-up-right.

404 Resource Not Found

The requested resource does not exist.

You may be trying to request a resource that does not exist or was deleted.

409 Conflict Duplicate Request

Conflicting duplicate request.

If a request is made but has not finished and that exact same request is made.

More details on the specific request will be provided within the returned error.

429 Too Many Requests

You have reached your <rate> limit

You have reached the rate limit.

5XX Internal Server Error

The GrowSurf server is inaccessible or offline -- that's our fault! Check for updates on our status pagearrow-up-right.

N/A

Last updated

Was this helpful?