After starting Split Synchronizer process (version 1.6.0 and above), Synchronizer debug log and Synchronizer admin dashboard show the error below on all its network Post calls:
"POST method: Status Code: 404 - 404 Not Found"
The Error is due to incorrect Split API key passed to the Synchronizer. Which caused the Synchronizer inability to find to the Organization in the Split cloud.
First verify the API key used by Synchronizer is correct, Synchronizer API key must be SDK type, the API keys are viewed from the Admin page under API keys section:
"https://app.split.io/org/[Your Organization ID]/admin/apis"
Second make sure to pass the API key. There are many ways to do it:
- Through command line arguments:
In a JSON file that Synchronizer uses for configuration. The apiKey property is the one that will be used to issue requests against Split Cloud
Alternatively, if the Synchronizer is used only in proxy mode (not Redis), the "auth" section and "sdkAPIKeys" is used to allow setting custom apikeys for internal use, which allows the SDK to use the internal custom api key.
If the Synchronizer is running within the Split packaged docker image, make sure to use the parameter below:
-e SPLIT_SYNC_API_KEY <APIKEY>