Help
Profitshare credentials
Where to find each Profitshare credential Affilitera asks for, who can create it, and what each connection error means.
Last updated
Profitshare connects with your API user and API key. Every call is signed with the key, and each affiliate link is created live under your own account.
API User
Your Profitshare API user. Affilitera sends it in the X-PS-Client header on every call; Profitshare uses it to find the key the call was signed with.
Where to find it
Shown in your Profitshare affiliate account (app.profitshare.ro/affiliate). If it is not there, ask support@profitshare.ro for it.
Set up first
- Your Profitshare contract must be finalised: until it is, Profitshare answers link requests with "Please finalize your contract in order to generate links".
API Key
Your Profitshare API key. It is never sent: Affilitera uses it to sign each call (HMAC-SHA1, sent as X-PS-Auth), so keep it private.
Where to find it
Shown in your Profitshare affiliate account (app.profitshare.ro/affiliate). If it is not there, ask support@profitshare.ro for it.
Common errors
These are the messages a Profitshare connection can show on its row in My Network, or after Test connection.
Profitshare: client/secret not configured
The connection test ran without the API user or the API key saved.
- Enter both API User and API Key on the connection.
- Save, then test the connection again.
Profitshare: credentials not configured
A sync ran without the API user or the API key saved.
- Save both API User and API Key on the connection.
- The next sync uses them.
Profitshare API HTTP … — …
Profitshare answered with an error. When the number is 401 or 403, Profitshare did not accept the signature made with the saved API user and key.
- Check the API user and API key in your Profitshare affiliate account.
- Enter both again, save, then test the connection again.
your own Profitshare connection is missing its API user or API key — enter and save both, then retry.
A link was requested, and your Profitshare connection does not have both values saved.
- Enter API User and API Key on your Profitshare connection and save.
- Request the link again.
Profitshare rejected the API user or API key saved on your own connection — replace them and retry.
Profitshare refused the signed link request (HTTP 401 or 403).
- Check the API user and API key in your Profitshare affiliate account.
- Enter both again, save, then request the link again.
Profitshare would not issue a link for this URL (HTTP …) — your Profitshare contract may not be finalised, or the URL is not on an advertiser you are approved for.
Profitshare accepted the credentials but refused to create the link.
- Make sure your Profitshare contract is finalised.
- Make sure you are approved for the advertiser whose page you are linking to.
- Request the link again.
What each status on the connection means
Credentials rejected
Profitshare refused the saved credentials. They were mistyped, regenerated or revoked on the Profitshare side, or belong to a user who has lost access.
- Open the connection and choose Update credentials.
- Copy each value again from Profitshare, using the steps in the field sections above, and save.
- Test the connection. The next sync uses the new values.
Credentials expired
A token Profitshare issues for a limited time, or for one use only, is no longer valid.
- Create a new token in Profitshare 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 Profitshare at all.
- Open the connection and choose Update credentials.
- Fill in every required field and save.
API access off
Profitshare accepted the credentials but refused the data. API or reporting access is not switched on for this account or site on the Profitshare side.
- Switch on API or reporting access in Profitshare (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 Profitshare accounts, for example an ID from one account and a key from another.
- Sign in to the one Profitshare account you want to connect.
- Copy every value from that same account, save, and test again.
Token save pending
Profitshare 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 Profitshare and save it on the connection.
Check credentials
Profitshare refused the connection with a message Affilitera does not recognize.
- Check each saved value against Profitshare, using the field sections above.
- Save and test again. If it still fails, contact support and quote the message shown on the connection.