Mahima Bhatnagar
Posts: 0
Joined: Tue Apr 28, 2015 5:53 am

Create service not adding any data to the parse database. Showing "undefined". Please help.

I have created create service using parse back-end.
I need users to post comments. So when I am Pressing test button in the create service, it shows response with "updated at and created at". But in the parse database it is adding the row, with the object id, but in place of the text its blank...and displaying 'undefined'.
I have no idea where the problem is occurring.

Showing "undefined".Please help.

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Create service not adding any data to the parse database. Showing "undefined". Please help.

Hello,

Please send us screenshots of request mapping and service settings, request parameters. Also screenshots from browsers network tab with request and server response data

Mahima Bhatnagar
Posts: 0
Joined: Tue Apr 28, 2015 5:53 am

Create service not adding any data to the parse database. Showing "undefined". Please help.

This is the request for create service:
Image

This is the request for create service in query string:
Image

This is the request for create service in body:

This is service setting:
Image

Image

This is what it shows after test:
Image

This is the response:
Image

Mapping:
Image

Image

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

Create service not adding any data to the parse database. Showing "undefined". Please help.

Hi Mahima,

You use wrong place for request parameter. (Query srging).

But you need to use "Body" tab to set needed request parameter.

So please:

  1. Open "request" tab on "Query srging" subTab and delete "Comments" parameter there.
    Details: http://prntscr.com/72si3y/direct

  2. Open test tab and populate needed value in "Body" subTab. Then click "test".
    Details: http://prntscr.com/72sin2/direct

    Regards.

Return to “Issues”