I am trying to customize the existing Source conne...
# ask-community-for-troubleshooting
b
I am trying to customize the existing Source connector. My request has header and or JSON body. How do I create the nested field in JSON body. json_payload["limit"] = self.items_per_page_limit. -> works good at its at parent level json_payload["query/filter/date_time_filter/updated_at/start_at"] = self.start_date -> Throws error. Similarly next line too.. json_payload["query/sort/sort_order"] = "ASC"
✍️ 1
e
Hi. This question is related to the language you are using- for instance in python this would be
json_payload["query/filter/date_time_filter/updated_at/start_at"] -->>
json_payload['query']['filter']['date_time_filter']['updated_at']['start_at']
u
@[DEPRECATED] Marcos Marx turned this thread into Zendesk ticket 2676 to ensure timely resolution!