BasicNetwork.performRequest: Unexpected response code 500

Hi guys,
I am implementing register webservice in my android app
URL : https://df-kaustubhk.enterprise.dreamfactory.com/api/v2/user/register
i can access this url from postman(postman is a chrome extension for testing webservices) but when i implement this webservice in my app it gives me > BasicNetwork.performRequest: Unexpected response code 500 error Can someone please help me on this ??
p.s i am very new to mBaaS

Method-post
Body ex-
{
“email”: "string5@gmail.com",
“first_name”: “string”,
“last_name”: “string”,
“display_name”: “string”,
“new_password”: “string”,
“code”: “string”
}
Headers-
Content-Type- application/json

Hei, i am also facing this same issue, just wanted to know incase you found any fix.

Hello @Kaustubh_Kadam.

You need to pass your request body as a JSON Via postman. The JsonObjectRequest is extended JsonRequest which override getBody() method directly, so your getParam() would never invoke, I recommend you extend StringRequest instead of JsonObjectRequest.

Thanks