Frequently Asked Questions

⌘K
  1. Home
  2. Docs
  3. Frequently Asked Question...
  4. Setup
  5. I’m unable to access FooSales due to a XML-RPC file access error?

I’m unable to access FooSales due to a XML-RPC file access error?

The FooSales iPad and Android tablet apps connect to your store using the FooSales REST API (primary) or WordPress XML-RPC (secondary). REST API is the preferred connection method as it is generally more stable and secure than XML-RPC. If the REST API is not accessible, the app will try to connect using XML-RPC as a fallback. FooSales uses the XML-RPC file for it’s intended purpose, however, spammers often use this file for nefarious proposes. As such, some hosting providers or security plugins may incorrectly flag the increased server requests through this file as suspicious and block the FooSales app from accessing this XML-RPC file.

You should first make sure that your website’s REST API is accessible by entering the following address in your web browser: ‘www.YOURWEBSITE.com/wp-json/foosales/v2’
You should see a screen that displays code which starts with {"namespace":"foosales\/v2","routes": as opposed to an error page such as 404 file not found which indicates that something is wrong with your server configuration or the REST API is blocked.

If you have a CAPTCHA plugin or security related plugin installed on your website such as Wordfence or iThemes Security, please temporarily disable it and try to connect to the FooSales app again. If you are able to connect, then the plugin was blocking access and will need to be permanently disabled or configured differently.

You can also ask your hosting company to confirm that there are no security restrictions on the ‘xmlrpc.php’ file which is part of WordPress and advise if the IP address of your device has been blocked from connecting to your site.

If you still experience any issues, please contact FooSales Technical Support and include as much detail as possible so we can get back to you with other possible solutions.

Tags , , , , , ,