[Spce-user] where to find error log file when failed to run rest api

Russell danrenjian at gmail.com
Tue Dec 30 05:20:11 EST 2014


I run this command to create a new customer through rest api:
curl -i -X POST --insecure -H 'Connection: close' -H 'Content-Type:
application/json' --user administrator:administrator --data-binary '{"contact_id":
58, "billing_profile_id": 1, "status": "active"}'

And, here is the response message:
HTTP/1.1 500 Internal Server Error
Server: nginx
Date: Tue, 30 Dec 2014 09:57:29 GMT
Content-Type: application/json
Content-Length: 49
Connection: close
Set-Cookie: ngcp_panel_session=69a8b3e8c02a595b6d3414904508097b7975a9bf;
path=/; expires=Tue, 30-Dec-2014 10:57:29 GMT; HttpOnly
X-Catalyst: 5.90042

{"message":"Internal Server Error","code":"500"}

So, where I can locate the error log file to find out what is wrong? I can
create the customer with same contact, bill profile and status setting in
the admin panel.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/mailman/private/spce-user_lists.sipwise.com/attachments/20141230/90d50879/attachment.html>

More information about the Spce-user mailing list