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 use 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 Split packaged docker image, make sure to use the parameter below
-e SPLIT_SYNC_API_KEY <APIKEY>