dict is not iterable - Pebbly API
Status: Closed · Asked by NeurodiverCity on · 0 views
Hi All,
I seem to be getting the error: dict is not iterable when making API Calls, Please see the attached.
API from my system shows an example request as follows:
[
{
"key": "process_id",
"value": "61c3762d671cf595bc2b7cb4",
"label": "Process Id for which the action needs to be initiated",
"mandatory": true
},
{
"key": "type",
"value": "start_instance",
"label": "Action Type",
"mandatory": true
},
{
"key": "61af5bb0671cf595bc2b33ef_61c37a1b671cf595bc2b7cd3",
"value": "",
"label": "Name",
"mandatory": true
},
{
"key": "61af5bb0671cf595bc2b33ef_61c37a29671cf595bc2b7cd4",
"value": "",
"label": "Job Title",
"mandatory": false
},
{
"key": "61af5bb0671cf595bc2b33ef_61c37a3c671cf595bc2b7cd5",
"value": "",
"label": "Company",
"mandatory": false
},
{
"key": "61af5bb0671cf595bc2b33ef_61c37a50671cf595bc2b7cd6",
"value": "",
"label": "Phone Number",
"mandatory": false
},
{
"key": "61af5bb0671cf595bc2b33ef_61c37a5f671cf595bc2b7cd8",
"value": "",
"label": "E-Mail Address",
"mandatory": true
}
]
Attachments

Hey @NeurodiverCity
Could you please share the API documentation which you are trying to implement on API by Pabbly?
Thanks
Hi There,
Please see attached
Attachments

Hey @NeurodiverCity
Could you please tell us what will be the value on the place of "start Instance" in your provided JSON?
Start_instance is the value that needs to be passed, it's what triggers the automation in the system we use
Hey @NeurodiverCity
We tried your API call at your end accordingly and it is still showing "Invalid Type". So, we would recommend you contact their support team on this particular API request.
Regards

I had this problem, if you remove the [ ] it will present the error and accept the type
Hey @NeurodiverCity
As per the API documentation [] is needed and we cannot remove that because that is not the acceptable format of the JSON body.
Kindly contact the respected API support team for this.
Regards