Error "wrong environment" or "all access tokens are incorrect"

A production campaign is targeting the sandbox environment, or a sandbox campaign is targeting production

How to check

If you are still in the integration phase and testing push notifications, check whether the "Sandbox message" toggle is enabled in the "Default" campaign profile. Learn more about sandbox environment in Sandbox Environment guide.

How to fix

Enable or disable the "Sandbox message" toggle in the "Default" campaign profile depending on the environment you are targeting.