Help
Levanta credentials
Where to find each Levanta credential Affilitera asks for, who can create it, and what each connection error means.
Last updated
Levanta connects with a creator API key. Every Levanta link is created by Levanta itself when you ask for one, under your own API key, so each connection uses its own key.
API Key
Your Levanta API key. Affilitera sends it as a Bearer token in a secure header on every call, never in a web address. It is used to read brands, products and conversions, and to create your links.
Where to find it
- Sign in to Levanta at app.levanta.io.
- Open Settings → API.
- Click Generate API Key and copy the key.
Set up first
- Links can only be created for brands you have an active partnership with in Levanta. Apply to a brand in Levanta first.
Common errors
These are the messages a Levanta connection can show on its row in My Network, or after Test connection.
Levanta: apiKey not configured
The connection test ran with no API key saved.
- Generate a key in Levanta → Settings → API.
- Paste it into API Key, save, then test the connection again.
Levanta: credentials not configured
A sync ran without an API key saved.
- Save your API Key on the connection.
- The next sync uses it.
Levanta API HTTP … — …
Levanta answered with an error. 401 means Levanta did not accept the saved API key. 422 means Levanta rejected the request's values.
- Generate a new key in Levanta → Settings → API.
- Paste it into API Key, save, then test again.
your own Levanta connection has no API key saved — enter and save it, then retry.
A link was asked for, and your Levanta connection has no API key to create it with.
- Paste your API key into API Key on your Levanta connection and save.
- Ask for the link again.
Levanta rejected the API key saved on your own connection — generate a new key under Settings → API, save it and retry.
Levanta answered 401 Unauthorized when the link was requested.
- Generate a new key in Levanta → Settings → API.
- Paste it into API Key, save, then ask for the link again.
Levanta does not list this product for a brand you have an active partnership with — apply to the brand in Levanta first.
Levanta's product list, read with your key for brands you are partnered with, does not include this product. Levanta creates links only for those brands.
- Apply to the brand in Levanta and wait for the partnership to be active.
- Ask for the link again.
Levanta would not create … — your account has no permission for it (no active partnership with this brand).
Levanta answered 400: your account may not create a link for this product or brand.
- Check in Levanta that your partnership with the brand is active.
- Ask for the link again.
Levanta returned an inactive link, and inactive Levanta links do not earn commissions — your partnership with this brand may have ended.
Levanta marks a link inactive when the partnership with its brand is deleted or the brand is deactivated. Inactive links do not earn commissions, so the link is not given out.
- Check your partnership with the brand in Levanta.
- Ask for the link again once it is active.
Levanta does not have a storefront link for this brand (Levanta storefront links exist for Amazon brands only) available to your account.
A brand link is Levanta's link to the brand's default Amazon storefront. Levanta has none for this brand, which happens for brands sold on Walmart, Shopify or Wayfair.
- Link to one of the brand's products instead.
Levanta's … link does not show the attribution id, and Levanta's link response does not confirm it either, so sales on it could not be proven to be credited.
For Walmart, Shopify and Wayfair products, Levanta's link response does not say which sub-ID the link was created with. The link is given out only when the link itself shows it; this one did not, so it was withheld rather than risk sales that are not credited to you.
- Link to an Amazon product of the brand, where Levanta confirms the sub-ID on every link.
Levanta's link came back under a different source id than the attribution id sent, so sales on it could not be credited.
Levanta returned an Amazon link whose source id is not the one that was sent, so the link was withheld.
- Ask for the link again. If it repeats, the link cannot be given out for this product.
What each status on the connection means
Credentials rejected
Levanta refused the saved credentials. They were mistyped, regenerated or revoked on the Levanta side, or belong to a user who has lost access.
- Open the connection and choose Update credentials.
- Copy each value again from Levanta, using the steps in the field sections above, and save.
- Test the connection. The next sync uses the new values.
Credentials expired
A token Levanta issues for a limited time, or for one use only, is no longer valid.
- Create a new token in Levanta 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 Levanta at all.
- Open the connection and choose Update credentials.
- Fill in every required field and save.
API access off
Levanta accepted the credentials but refused the data. API or reporting access is not switched on for this account or site on the Levanta side.
- Switch on API or reporting access in Levanta (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 Levanta accounts, for example an ID from one account and a key from another.
- Sign in to the one Levanta account you want to connect.
- Copy every value from that same account, save, and test again.
Token save pending
Levanta 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 Levanta and save it on the connection.
Check credentials
Levanta refused the connection with a message Affilitera does not recognize.
- Check each saved value against Levanta, using the field sections above.
- Save and test again. If it still fails, contact support and quote the message shown on the connection.