Help
TUNE credentials
Where to find each TUNE credential Affilitera asks for, who can create it, and what each connection error means.
Last updated
TUNE (HasOffers) is software that many affiliate networks run under their own name. Each TUNE network you work with is a separate connection, with its own Network ID and your affiliate API key on that network.
Network ID (tenant subdomain)
The network's TUNE name, the part before .api.hasoffers.com in its API address. For example, mynetwork means mynetwork.api.hasoffers.com. Use letters, numbers and hyphens only.
Where to find it
- Sign in to your affiliate account on this network.
- Go to Tools → APIs.
- The Network ID is shown next to your API key.
API Key
Your affiliate API key on this network. It is the key an affiliate holds, not the network's own token.
Where to find it
- Sign in to your affiliate account on this network.
- Go to Tools → APIs and copy the API key.
- If no key is shown, click Request API Key.
Set up first
- If you had to request a key, the network may need to approve it before it works.
Tracking Host
The network's tracking domain, such as mynetwork.go2cloud.org. Click links are built on it. It is often a different domain from the API address.
Where to find it
The connection form explains this field in its placeholder.
Affiliate ID
Your affiliate ID on this TUNE network. It goes into every click link Affilitera builds.
Where to find it
The connection form explains this field in its placeholder.
Common errors
These are the messages a TUNE connection can show on its row in My Network, or after Test connection.
TUNE: networkId (tenant subdomain) not configured
The connection has no Network ID saved, so Affilitera does not know which TUNE network to call.
- Find the Network ID under Tools → APIs in your affiliate account.
- Enter it, save, then test again.
About Network ID (tenant subdomain)
TUNE: networkId looks invalid ("…")
The Network ID contains something other than letters, numbers and hyphens, for example a full web address.
- Enter only the network's name, such as mynetwork, not mynetwork.api.hasoffers.com.
- Save and test again.
About Network ID (tenant subdomain)
TUNE: apiKey (affiliate api_key) not configured
The connection has no API key saved.
- Copy your API key from Tools → APIs in your affiliate account.
- Paste it into API Key, save, then test again.
TUNE: credentials not configured
A sync ran without an API key saved.
- Save your API key on the connection.
- The next sync uses it.
TUNE: trackingHost not configured
Offers cannot be read without a tracking host, because each offer's link is built on it.
- Enter the network's tracking domain in Tracking Host.
- Save and run the sync again.
TUNE: affiliateId not configured
Offers cannot be read without your affiliate ID, because each offer's link carries it.
- Enter your affiliate ID on this network in Affiliate ID.
- Save and run the sync again.
TUNE API HTTP … — … — …
The TUNE 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 Network ID is this network's name.
- Copy your API key again from Tools → APIs.
- Save and test again.
About Network ID (tenant subdomain)
TUNE API error envelope — …
The network answered, but its reply said the request failed. The text after the dash is the network's own list of errors.
- Read the errors in the message.
- If they are about the key, copy it again from Tools → APIs. A requested key may still be waiting for the network's approval.
- Save and test again.
What each status on the connection means
Credentials rejected
TUNE refused the saved credentials. They were mistyped, regenerated or revoked on the TUNE side, or belong to a user who has lost access.
- Open the connection and choose Update credentials.
- Copy each value again from TUNE, using the steps in the field sections above, and save.
- Test the connection. The next sync uses the new values.
Credentials expired
A token TUNE issues for a limited time, or for one use only, is no longer valid.
- Create a new token in TUNE 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 TUNE at all.
- Open the connection and choose Update credentials.
- Fill in every required field and save.
API access off
TUNE accepted the credentials but refused the data. API or reporting access is not switched on for this account or site on the TUNE side.
- Switch on API or reporting access in TUNE (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 TUNE accounts, for example an ID from one account and a key from another.
- Sign in to the one TUNE account you want to connect.
- Copy every value from that same account, save, and test again.
Token save pending
TUNE 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 TUNE and save it on the connection.
Check credentials
TUNE refused the connection with a message Affilitera does not recognize.
- Check each saved value against TUNE, using the field sections above.
- Save and test again. If it still fails, contact support and quote the message shown on the connection.