ZBoxApp / zimbra-rest-api

Zimbra REST API Proxy to Zimbra SOAP API
MIT License
11 stars 2 forks source link

{"error":"undefined method `/' for nil:NilClass"} #1

Open narendraqa opened 7 years ago

narendraqa commented 7 years ago

Hi Team,

Getting error when creating user.

curl -X POST -d "name='abc@abc.com', password='abc@123', displayName='abc API'" http://localhost:9292/accounts/

{"error":"undefined method `/' for nil:NilClass"}

pbruna commented 7 years ago

Hello, We are working on a new version that it's like an add-on for zimbra-proxy or nginx. This will be alive next week I think.

It's this urgent or you can wait till next week?

narendraqa commented 7 years ago

Hey pbruna,

Thanks for your quick reply. So by using this script, we cannot create Zimbra user account.

Getting error msg.

127.0.0.1 - - [25/Aug/2017:15:04:25 +0530] "POST /accounts/ HTTP/1.1" 500 49 0.1577 2017-08-25 15:04:26 - NoMethodError - undefined method `/' for nil:NilClass:

Thanks Narendra