swina Posted February 8, 2015 Share Posted February 8, 2015 I am using platform webservice for a mobile apps based on presta engine but if I don't have problems accessing to categories, products resources when I try to access language resource I got error. Also with a direct request about schema/synopsis I got error. Example: [email protected]/presta/api/products?schema=synopsis I got extended schema information [email protected]/presta/api/languages?schema=synopsis I got following <prestashop xmlns:xlink="http://www.w3.org/1999/xlink"> <errors> <error> <message> <![CDATA[ Internal error. To see this error please display the PHP errors. ]]> </message> </error> </errors> </prestashop> Setting debug mode I got: Fatal error: Uncaught exception 'PrestaShopWebserviceException' with message 'This call to PrestaShop Web Services failed and returned an HTTP status of 401. That means: Unauthorized.' in C:\Ampps\www\test\PSWebServiceLibrary.php:92 Stack trace: #0 C:\Ampps\www\test\PSWebServiceLibrary.php(296): PrestaShopWebservice->checkStatusCode(401) #1 C:\Ampps\www\test\presta.php(93): PrestaShopWebservice->get(Array) #2 {main} thrown in C:\Ampps\www\test\PSWebServiceLibrary.php on line 92 Status 401. Unauthorize doesn't make any sense since if I try to get orders schema with same settings no errors. Any idea? I am using following official PSWebServiceLibrary https://raw.github.com/PrestaShop/PrestaShop-webservice-lib/master/PSWebServiceLibrary.php Thank you Link to comment Share on other sites More sharing options...
hakim Posted August 30, 2018 Share Posted August 30, 2018 same problem here please help Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now