I'm accessing CS-Cart via the API and it was all working fine. Now, for some reason I don't understand, every API request is failing. I've tried creating a new API key for the user and I've tried creating a new user with a new API key but it still fails. Even the basic curl command in the documentation no longer works.
I'm accessing CS-Cart via the API and it was all working fine. Now, for some reason I don't understand, every API request is failing. I've tried creating a new API key for the user and I've tried creating a new user with a new API key but it still fails. Even the basic curl command in the documentation no longer works.
Where do I start to look?
The issue requires examination on your server. Please contact us via HelpDesk.
It turned out to be a server side issue after my provider had moved to me to another package. The authentication headers were being stripped by their new defaults.
The CS-Cart help desk found the issue and my hosting service fixed it.
It turned out to be a server side issue after my provider had moved to me to another package. The authentication headers were being stripped by their new defaults.
The CS-Cart help desk found the issue and my hosting service fixed it.
I am also facing the same issue on local server. while i have started using API, it was working fine but suddenly it stopped working. It is displaying
{
"message": "Unauthorized",
"status": 401
}
message while accessing from postman client or from the basic curl command in the documentation no longer works. Only GET request working while accessing from browser.