Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to Create Client #678

Closed
santoshconflux opened this issue Apr 24, 2017 · 6 comments
Closed

Unable to Create Client #678

santoshconflux opened this issue Apr 24, 2017 · 6 comments

Comments

@santoshconflux
Copy link

It is throwing the error 'The parameter datatables cannot be empty. You must select at least one'.

d3

@AbhilashG97
Copy link
Member

AbhilashG97 commented Apr 28, 2017

I would like to work on this issue. May I proceed ?

@AbhilashG97
Copy link
Member

The logs for the issue can be found here.

@santoshconflux
Copy link
Author

@AbhilashG97 Are you able to resolve this issue?

@AbhilashG97
Copy link
Member

@santoshmath, Unfortunately, I haven't been to resolve this issue yet, but I am trying to resolve it as soon as possible. From what I have understood as of now is that the datatables field is being left empty which results in "400 Bad Request" error when the POST request is sent. The correct POST request should look somewhat like this -

Content-Type: application/json Request Body:
{
"officeId": 1,
"firstname": "Petra",
"lastname": "Yton",
"externalId": "786YYH7",
"dateFormat": "dd MMMM yyyy",
"locale": "en",
"active": true,
"activationDate": "04 March 2009",
"submittedOnDate":"04 March 2009",
"savingsProductId" : 4,
"datatables": [{
"registeredTableName": "Family Details",
"data": {
"locale": "en",
"Number of members": "5",
"Number of dependents": "3",
"No of Children": "2",
"Date of verification": "14 December 2016",
"dateFormat": "dd MMMM yyyy"
}
},
{
"registeredTableName": "Residency Address",
"data": {
"locale": "en",
"Address Line": "Basavana Gudi Road",
"Street": "Gandhi Bazaar",
"Landmark": "Aashrama",
"COUNTRY_cd_Country": 17,
"STATE_cd_State": "7",
"DISTRICT_cd_District": "13",
"Pincode": "560040"
}
}
]
}
Currently, the POST request is missing the value for the datatables parameter (bold text) which results in an error. I am trying resolve this issue as soon as possible.
Also, meanwhile if someone else desires to work on this issue and post a solution they may do so.

@santoshconflux
Copy link
Author

@AbhilashG97 , wait few days. @therajanmaurya , will look into this.

@tarun0
Copy link
Member

tarun0 commented May 29, 2017

@santoshmath I'll work on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants