Help
AccessTrade credentials
Where to find each AccessTrade credential Affilitera asks for, who can create it, and what each connection error means.
Last updated
AccessTrade connects with the access key from your AccessTrade Vietnam publisher account. Each link is created by AccessTrade itself under your own key, so every link carries your attribution id.
Access Key
Your AccessTrade publisher access key. Affilitera sends it in the Authorization header of every call, as the word Token followed by a space and the key, never in a web address. Anyone holding it can read your AccessTrade data and create links for you, so keep it private.
Where to find it
- Sign in to your AccessTrade Vietnam publisher dashboard.
- Open your profile and find the API section (pub2.accesstrade.vn/profile/api_key; older accounts show it under the personal info page of your publisher profile).
- Copy the access key.
Common errors
These are the messages a AccessTrade connection can show on its row in My Network, or after Test connection.
AccessTrade: accessKey not configured
The connection test ran with no access key saved.
- Copy your access key from the API section of your AccessTrade publisher profile.
- Paste it into Access Key, save, then test the connection again.
AccessTrade: credentials not configured
A sync ran with no access key saved.
- Save your access key on the connection.
- The next sync uses it.
AccessTrade API HTTP … — …
AccessTrade answered with an error. 401 means AccessTrade did not accept the access key; 403 means the key is invalid or has no access to what was asked; 429 means too many requests in a short time (the transactions list allows 10 requests a minute).
- For 401 or 403, copy your current access key from your AccessTrade publisher profile, paste it into Access Key, save, then test again.
- For 429, wait a minute; the next sync continues from where it stopped.
AccessTrade API answered success:false — …
AccessTrade replied but reported that the request did not succeed, for example because a report query took too long on its side. No data was read, and nothing was recorded as synced.
- Wait and let the next sync run; it starts again from the page that failed.
your own AccessTrade connection has no access key saved — enter and save it, then retry.
A link was requested, and your own AccessTrade connection has no access key to create it with.
- Paste your access key into Access Key on your AccessTrade connection and save.
- Request the link again.
AccessTrade rejected the access key saved on your own connection — replace it and retry.
A link was requested, and AccessTrade did not accept the access key saved on your connection.
- Copy your current access key from your AccessTrade publisher profile.
- Paste it into Access Key, save, and request the link again.
AccessTrade would not issue a link for this campaign (HTTP …) — your account may not be approved for it, or the product URL is not on the advertiser's site.
AccessTrade answered the link request with a refusal. Usually your account is not yet approved for the campaign, or the product address is not on that advertiser's website.
- Check in your AccessTrade dashboard that your registration for the campaign is approved.
- Use a product address on the advertiser's own website, then request the link again.
What each status on the connection means
Credentials rejected
AccessTrade refused the saved credentials. They were mistyped, regenerated or revoked on the AccessTrade side, or belong to a user who has lost access.
- Open the connection and choose Update credentials.
- Copy each value again from AccessTrade, using the steps in the field sections above, and save.
- Test the connection. The next sync uses the new values.
Credentials expired
A token AccessTrade issues for a limited time, or for one use only, is no longer valid.
- Create a new token in AccessTrade 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 AccessTrade at all.
- Open the connection and choose Update credentials.
- Fill in every required field and save.
API access off
AccessTrade accepted the credentials but refused the data. API or reporting access is not switched on for this account or site on the AccessTrade side.
- Switch on API or reporting access in AccessTrade (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 AccessTrade accounts, for example an ID from one account and a key from another.
- Sign in to the one AccessTrade account you want to connect.
- Copy every value from that same account, save, and test again.
Token save pending
AccessTrade 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 AccessTrade and save it on the connection.
Check credentials
AccessTrade refused the connection with a message Affilitera does not recognize.
- Check each saved value against AccessTrade, using the field sections above.
- Save and test again. If it still fails, contact support and quote the message shown on the connection.