If you encounter an error message stating This cohort has failed to sync because the API key that was provided no longer has access to the partner. Please check the access level on the partner's website concerning this integration.
while integrating Amplitude with Statsig, it suggests that there might be an issue with the Server Secret Key you're using.
Here are a few steps you can take to troubleshoot this:
1. Double-check the Server Secret Key: Ensure that you've copied the correct Server Secret Key from the API keys page in your Statsig Project Settings.
2. Check the key's access level: Make sure that the Server Secret Key you're using has the appropriate access level for the integration.
3. Re-enter the key: Try re-entering the Server Secret Key in Amplitude and save the changes.
If you've checked these and the issue persists, it might be a more complex issue. In this case, it is recommended to reach out to the Statsig support team for further assistance.