we use the Magento api to update our warehouse system when we recieve orders and then update magento again with inventory updates from our warehouse system. However we recently had an order that gave the below error and we are not sure how or where to access the api error log?

"Internal Error. Details are available in Magento log file. Report ID: webapi-5c644d10f0e26"

I have looked in var/log as well as in the var/report and I don't see any API folder or log file with api referenced in the name??

I have magento 2.2.5

有帮助吗?

解决方案

Just run the below command in magento root directory, it will show that log file location.

grep -r "Report ID: webapi-5c644d10f0e26" var/

Note: Change the above report id as per your error report - e.g) Report ID: webapi-xxxxxxxxxxx

Up to my mind it is in exception.log file and find the line with the content webapi-5c644d10f0e26 for the detailed report.

许可以下: CC-BY-SA归因
scroll top