I tried to access swagger using the below URL:


curl -X POST 'https://example.com/index.php/rest/V1/integration/admin/token' \ -H 'Content-Type:application/json' \ -d '{"username":"admin", "password":"admin123"}'

i get api_key and apply But still getting the below error

500 : {"message":"Internal Error. Details are available in Magento log file. Report ID: webapi-59fb1f6faeb4d"}

  • did you checked log file for reported error ? – Pankaj Pareek Nov 3 '17 at 5:17
  • no i dont get any log file. can you plz tell me folder where log creating. – mohan Nov 3 '17 at 5:46
  • In var/log folder – Pankaj Pareek Nov 3 '17 at 6:04
  • it not creating file – mohan Nov 3 '17 at 7:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.