提取所有产品时,magento rest api 500内部服务器错误

问题描述:

当我尝试使用rest api获取所有产品列表时.

when I trying to fetch all product list with rest api.

http://magento-11498-25844-78339.cloudwaysapps .com/api/rest/products

显示500个内部服务器错误

it shows 500 internal server error

请按照以下步骤操作,这对我来说很好. 1.登录到管理面板 2.系统>> Web服务>>其他角色 3.然后单击访客,然后选择目录所有项目,然后保存角色 4.然后单击系统>> Web服务>>剩余属性,然后选择全部然后保存.

Please follow below Steps which is working fine for me. 1. Login to the admin panel 2. System >> Web services >> Rest Roles 3. Then click on guest then choose catalog all item then save the role 4. Then Click on System >> Web services >> Rest Attributes then Choose all then save.

希望它会正常工作.谢谢

Hope It will work fine. Thanks

请同时查看屏幕快照.

Please look at the screens shots too.