Magento API - Returns "Not Acceptable"



Error

Access to xxxxxxxxx faild. Make sure the URL to your Magento site is correct, URL to API is correct and you have created a API user and assigned Role permissions to it (this is NOT the same as your admin login details to the Magento backend) Not Acceptable

Cause

The webhosts additional security methods or firewall is preventing sending data to the API as such all information is treated as malicious or suspicious and therefore is blocked.

Possible causes on web servers

  • Mod-Security
  • SecFilterEngine

Solution

Contact your web host and ask them to allow sending of data to your Magento or relieve the security restrictions.

References

http://www.magentocommerce.com/boards/viewthread/214609/