I’m trying to process Survey result webhook data with multiple attachments. But the webhook only has one attachment in the JSON. But If we do a get request on the survey result we are getting two attachments. Why is there just one attachment in the webhook JSON? Is this a known Bug? Or am I missing something?
What’s happening instead?
Instead of having two attachements in the JSON we have one attachment..
Webhook JSON:
{
“_id”: 819520235,
“formhub/uuid”: “5c4c3c5ddfb44095adbc66ee18e61c48”,
“a3ATd000000CeEbMAK_beneficiary”: “a2QTd0000006mGBMAY”,
“a3ATd000000CeEbMAK_beneficiaryPhotoChangeTime”: “21-10-2025”,
“a3ATd000000CeEbMAK_a2oTd0000007kE0IAI/a3ATd000000CeEbMAK_a2oTd0000007kEYIAY”: “1789204775486.jpg”,
“a3ATd000000CeEbMAK_a2oTd0000007kE1IAI”: “1789204829748.jpg”,
“a3ATd000000CeEbMAK_a2oTd0000007kE2IAI”: “Dear friend,\nRespectful greetings. I hope you and your family are in good health. It is currently the month of Sawan here, and the rain has made our village very lush and green.\nThe farmers of our village received training on makhana (fox nut) cultivation. They learned modern farming techniques. My family members are also receiving new knowledge related to agriculture.\nDuring Sawan, we also have prayers and rituals at home. The whole family prays together and spends meaningful time with one another.\nMay you always stay healthy and cheerful.\nYour friend,\nPuja Beshra \nIN-HAC-B15-0265”,
“a3ATd000000CeEbMAK_a2oTd0000007kE3IAI”: “ChristmasCard”,
“a3ATd000000CeEbMAK_a2oTd0000007kE4IAI”: “Pending PO Approval”,
“a3ATd000000CeEbMAK_a2oTd0000007kE5IAI”: “Check Progress Report by PO”,
“a3ATd000000CeEbMAK_a2oTd0000007kE6IAI”: “आपके सहयोग और आशीर्वाद के लिए धन्यवाद!”,
“a3ATd000000CeEbMAK_a2oTd0000007kE7IAI”: “Thank you for your support and blessings.”,
“version”: “vX5gDF3cRE3ra6hvECrf3R”,
“meta/instanceID”: “uuid:3874ded4-da77-411d-b7f0-b6f190b006d3”,
“meta/formVersions”: “vX5gDF3cRE3ra6hvECrf3R vBYivGhCH2nXwLuFaHzRup”,
“_xform_id_string”: “aAhRtTiDnsb4Gs7tbzytnb”,
“_uuid”: “3874ded4-da77-411d-b7f0-b6f190b006d3”,
“meta/rootUuid”: “uuid:3874ded4-da77-411d-b7f0-b6f190b006d3”,
“_attachments”: [
{
“download_url”: “url”,
“mimetype”: “image/jpeg”,
“filename”: “nlitrek/attachments/5c4c3c5ddfb44095adbc66ee18e61c48/3874ded4-da77-411d-b7f0-b6f190b006d3/1789204775486.jpg”,
“media_file_basename”: “1789204775486.jpg”,
“uid”: “attAbwhvbLzJB7KB79fjyPWQ”,
“is_deleted”: false,
“download_large_url”: url",
“download_medium_url”: “url”,
“download_small_url”: “url”,
“question_xpath”: “a3ATd000000CeEbMAK_a2oTd0000007kE0IAI/a3ATd000000CeEbMAK_a2oTd0000007kEYIAY”
}
],
“_status”: “submitted_via_web”,
“_geolocation”: [
null,
null
],
“_submission_time”: “2026-09-12T09:31:19”,
“_validation_status”: {
},
“_submitted_by”: “inpurnea02”
}
get request on the survey result
{
“_id”: 819520235,
“formhub/uuid”: “5c4c3c5ddfb44095adbc66ee18e61c48”,
“a3ATd000000CeEbMAK_beneficiary”: “a2QTd0000006mGBMAY”,
“a3ATd000000CeEbMAK_beneficiaryPhotoChangeTime”: “21-10-2025”,
“a3ATd000000CeEbMAK_a2oTd0000007kE0IAI/a3ATd000000CeEbMAK_a2oTd0000007kEYIAY”: “1789204775486.jpg”,
“a3ATd000000CeEbMAK_a2oTd0000007kE1IAI”: “1789204829748.jpg”,
“a3ATd000000CeEbMAK_a2oTd0000007kE2IAI”: “Dear friend,\nRespectful greetings. I hope you and your family are in good health. It is currently the month of Sawan here, and the rain has made our village very lush and green.\nThe farmers of our village received training on makhana (fox nut) cultivation. They learned modern farming techniques. My family members are also receiving new knowledge related to agriculture.\nDuring Sawan, we also have prayers and rituals at home. The whole family prays together and spends meaningful time with one another.\nMay you always stay healthy and cheerful.\nYour friend,\nPuja Beshra \nIN-HAC-B15-0265”,
“a3ATd000000CeEbMAK_a2oTd0000007kE3IAI”: “ChristmasCard”,
“a3ATd000000CeEbMAK_a2oTd0000007kE4IAI”: “Pending PO Approval”,
“a3ATd000000CeEbMAK_a2oTd0000007kE5IAI”: “Check Progress Report by PO”,
“a3ATd000000CeEbMAK_a2oTd0000007kE6IAI”: “आपके सहयोग और आशीर्वाद के लिए धन्यवाद!”,
“a3ATd000000CeEbMAK_a2oTd0000007kE7IAI”: “Thank you for your support and blessings.”,
“version”: “vX5gDF3cRE3ra6hvECrf3R”,
“meta/instanceID”: “uuid:3874ded4-da77-411d-b7f0-b6f190b006d3”,
“meta/formVersions”: “vX5gDF3cRE3ra6hvECrf3R vBYivGhCH2nXwLuFaHzRup”,
“_xform_id_string”: “aAhRtTiDnsb4Gs7tbzytnb”,
“_uuid”: “3874ded4-da77-411d-b7f0-b6f190b006d3”,
“meta/rootUuid”: “uuid:3874ded4-da77-411d-b7f0-b6f190b006d3”,
“_attachments”: [
{
“download_url”: “url”,
“mimetype”: “image/jpeg”,
“filename”: “nlitrek/attachments/5c4c3c5ddfb44095adbc66ee18e61c48/3874ded4-da77-411d-b7f0-b6f190b006d3/1789204775486.jpg”,
“media_file_basename”: “1789204775486.jpg”,
“uid”: “attAbwhvbLzJB7KB79fjyPWQ”,
“is_deleted”: false,
“download_large_url”: “url”,
“download_medium_url”: “url”,
“download_small_url”: “url”,
“question_xpath”: “a3ATd000000CeEbMAK_a2oTd0000007kE0IAI/a3ATd000000CeEbMAK_a2oTd0000007kEYIAY”
},
{
“download_url”: url",
“mimetype”: “image/jpeg”,
“filename”: “nlitrek/attachments/5c4c3c5ddfb44095adbc66ee18e61c48/3874ded4-da77-411d-b7f0-b6f190b006d3/1789204829748.jpg”,
“media_file_basename”: “1789204829748.jpg”,
“uid”: “attX2KvabN8kxWqnGcrZHr5i”,
“is_deleted”: false,
“download_large_url”: url",
“download_medium_url”: url",
“download_small_url”: “url”,
“question_xpath”: “a3ATd000000CeEbMAK_a2oTd0000007kE1IAI”
}
],
“_status”: “submitted_via_web”,
“_geolocation”: [
null,
null
],
“_submission_time”: “2026-09-12T09:31:19”,
“_validation_status”: {
},
“_submitted_by”: “inpurnea02”
}
I replaced the url data in the json because I’m not allowed to post more then two hyperlinks
