Common API messages and what they mean
See the chart below for information.
|
Message |
What it means |
What to do |
|
No active payment method available for your account |
Your credit account isn't set up yet |
Apply from your Tradeprint account or contact us |
|
Unauthorized (401) |
The login details weren't accepted |
Use your API credentials, not your website login, and the right set for sandbox or live. Tokens expire after eight hours |
|
Validation failed / not a valid selection |
An option, quantity or required field doesn't match the product |
Check the product's options and quantities, then validate the order before sending |
|
Order already exists |
That order reference has been used before |
Use a unique reference, or leave it out and we'll create one |
|
Item waiting for artwork, or artwork rejected |
We need a file, or a new one |
Upload or replace the artwork for that item through the API |
Still stuck? Email sales@tradeprint.co.uk with the exact message, your order reference and the time it happened. Please never include your API password.