Skip to main content
Question

Response mapping issue

  • October 21, 2025
  • 2 replies
  • 22 views

amassio

Hi, I have this json  {"code":1,"message":"Ok","data":{"winner":false,"play_id":12}}

White the response mapping I can read code and message but not winner and play_id.
I use $.data.winner as selector for example and only code the the other field that works.

If I print the custom field assigned to winner is empty.
Could if be a format issue? winner is a boolean and the custom field is string.

How can I debug it ?

Many thanks.

2 replies

Gustavo Boregio
Forum|alt.badge.img+6
  • Manychat Community Moderator
  • October 21, 2025

Hey ​@amassio 

Here are the JSON Paths you need to use:

 

Hope this helps!!


amassio
  • Author
  • Up-and-Comer
  • October 22, 2025

Thank you Gustavo, the problem was related to the type. Changing winner from string to boolean it worked for me. Probably Maychat try to do any kind of type conversion.