Sometimes when creating or updating promotions, you might get an error message that says ‘authorization required’ or ‘forbidden’. Here is an example:
Sample Error Response
<?xml version='1.0' standalone='yes'?>
<promotions>
<fault code="401"
string="Authorization Required" />
</promotions>
This error message appears when you enter an invalid username or password.
How can I fix this?
We recommend that you check your password, particularly whether you allow special characters or not.
If you still can’t access the API, an alternative option is to use ‘basic authentication’. With this option, you’ll need to provide an authentication header.
Comments
0 comments
Article is closed for comments.