Manual integration - not able to get optin prompt (Unexpected token s in JSON at position 0)

Hi,

I’ve done the integration here: [Removed Link] and the Troubleshooter says it’s it’s good.

When I debug the issue in Chrome, I see this:

The response explains the console error but what is the configuration problem when the response message is: “site does not exist”.

Thanks!

Richard

This usually happens when the parent domain of the site URL as registered on our dashboard does not match with the actual parent domain of the site where the code is placed. This is a simple security check.

Update: we checked the account associated with your Webpushr code snippet (public key is BIJxKGGCQjPOKJLj3wLcaAUucR8qoGDzOsqJ7Ju2_T4tENZFkoGaffb3JxzW0BTy3hpRTzV2ZyTOtRoFZQmgFvU) and the the site URL as registered with that account is completely different from where the code is placed. Please register a new site with the correct URL of the site where you plan to place the code.

Thanks - issue resolved!