Jump to content
thirty bees forum
  • 0

404 Webservice Error



We use an external system to print our shipping labels which communicates with Prestashop via the webservice to mark the order as shipped and add the tracking number. This works fine with our Prestashop store, but it won't change the order status on our thirty bees store.

Looking at the logs, the server is giving a 404 error when it tries to update:

domain.co.uk.log: - - [22/May/2018:14:43:41 +0100] "PUT /api/ordercarriers?wskey=AAMTLY39UFGCHB1N26Y6L7MEAU3P9NSZ HTTP/1.1" 404 6523 "-" "RestSharp/"

Any idea why it is doing this and how to fix it?

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

Just an update, our hosting company are saying it's the .htaccess file which is causing the problem. The only reference I can find to the webservice is here:

RewriteRule . - [E=REWRITEBASE:/] RewriteRule ^api$ api/ [L] RewriteRule ^api/(.*)$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L]

This was put in by thirty bees by default so I would have thought this should be correct and doesn't need changing, but is it possible this is causing the 404 error?

Link to comment
Share on other sites

  • 0

I'm tearing my hair out over this and still can't get it resolved.

The hosting company are adamant it is being caused by an .htaccess file. I've deleted all the ones I can find and it still doesn't work. Here's another error related to it I have found in the logs:

[Wed Jun 06 09:22:39.573409 2018] [accesscompat:error] [pid 9044] [client] AH01797: client denied by server configuration: /home/domains/domain.com/privatehtml/api

Please, does anyone know how to fix this? It seems there are several bugs with the webservice.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...