Help
CAKE credentials
Where to find each CAKE credential Affilitera asks for, who can create it, and what each connection error means.
Last updated
CAKE is software that many affiliate networks run under their own name, each on its own web address. Each CAKE network you work with is a separate connection, with its own portal address, affiliate API key and affiliate ID.
Tenant Domain
The address of the network's CAKE affiliate portal, the one you log in to. Networks often use their own domain. It must start with https.
Where to find it
- Use the address of the CAKE affiliate portal you sign in to for this network.
Affiliate API Key
Your affiliate API key on this CAKE network. It is an affiliate key, not a key from the network's own admin settings.
Where to find it
- Sign in to the network's CAKE affiliate portal.
- Click Reporting API at the top right.
- Copy the API Key from the popup.
Affiliate ID
Your affiliate ID on this CAKE network. It is sent with the API key, and it goes into the tracking links Affilitera builds.
Where to find it
- Sign in to the network's CAKE affiliate portal.
- Click Reporting API at the top right.
- Copy the Affiliate ID from the same popup.
Common errors
These are the messages a CAKE connection can show on its row in My Network, or after Test connection.
CAKE: tenantDomain not configured — set it in the connection's credentials
The connection has no portal address saved, so Affilitera does not know which CAKE network to call.
- Enter the address of the CAKE affiliate portal you log in to.
- Save and test again.
CAKE: tenantDomain is not a valid host ("…")
The saved portal address is not a web address.
- Enter the portal address, for example https://yournetwork.cakemarketing.com.
- Save and test again.
CAKE: tenantDomain must be https ("…")
The saved portal address starts with http, not https. Affilitera only calls an https address.
- Change the address so it starts with https://.
- Save and test again.
CAKE: apiKey not configured
The connection has no affiliate API key saved.
- In the CAKE affiliate portal, click Reporting API (top right) and copy the API Key.
- Paste it into Affiliate API Key, save, then test again.
CAKE: affiliateId not configured
The connection has no affiliate ID saved.
- Copy the Affiliate ID from the same Reporting API popup.
- Paste it into Affiliate ID, save, then test again.
CAKE: credentials not configured
A sync ran without both the affiliate API key and the affiliate ID saved.
- Save both Affiliate API Key and Affiliate ID on the connection.
- The next sync uses them.
CAKE API HTTP … — … — …
The CAKE network refused the request. The number is the HTTP status and the text at the end is the network's own reason.
- Check that the portal address is the one you log in to.
- Open Reporting API in the portal and copy the API Key and Affiliate ID again.
- Save and test again.
What each status on the connection means
Credentials rejected
CAKE refused the saved credentials. They were mistyped, regenerated or revoked on the CAKE side, or belong to a user who has lost access.
- Open the connection and choose Update credentials.
- Copy each value again from CAKE, using the steps in the field sections above, and save.
- Test the connection. The next sync uses the new values.
Credentials expired
A token CAKE issues for a limited time, or for one use only, is no longer valid.
- Create a new token in CAKE as described in the field section above.
- Save it on the connection and test again.
Credential missing
A value the connection needs has not been saved, so Affilitera cannot call CAKE at all.
- Open the connection and choose Update credentials.
- Fill in every required field and save.
API access off
CAKE accepted the credentials but refused the data. API or reporting access is not switched on for this account or site on the CAKE side.
- Switch on API or reporting access in CAKE (see the setup notes in the field sections above).
- Test the connection again. Nothing needs changing in Affilitera.
Account mismatch
The saved values come from different CAKE accounts, for example an ID from one account and a key from another.
- Sign in to the one CAKE account you want to connect.
- Copy every value from that same account, save, and test again.
Token save pending
CAKE issued a new token and Affilitera could not save it yet. This usually clears on its own at the next sync.
- Wait for the next sync.
- If the message stays, create a new token in CAKE and save it on the connection.
Check credentials
CAKE refused the connection with a message Affilitera does not recognize.
- Check each saved value against CAKE, using the field sections above.
- Save and test again. If it still fails, contact support and quote the message shown on the connection.