Jump to content

Webservice giving 405 error on new API key.


zoombamboom

Recommended Posts

I have two webservice API keys setup. One is working but the new one I just created does not work and reports a 405 error.

They are configured exactly the same way and I don't understand why one works and the other not.

The only difference between the two is the first one was created when the shop was in version 1.6. This is now version 8.1.7.

I was initially doing this to use Parcel2Go connection. This is where I noticed the second key was failing. So I then tested a simple script with PrestaShop-webservice-lib and the results are the same. (not sure I need to post the code as I don't think the issue is from the code since it does work with the first API key).

It feels like maybe the webservice would need a restart to honour the new key but I don't know if this is something we do?

Any idea why?

I have attached the dump of the webservice_account table. (key being blanked obviously).

Any help will be much appreciated.

 

Screenshot_2024-10-04_18-18-28.png

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...