dict is not iterable - Pebbly API

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:

JSON:
[
  {
    "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

  • Screenshot 2021-12-22 at 20.07.19.png
    Screenshot 2021-12-22 at 20.07.19.png
    793.6 KB · Views: 133
P

Pabblymember11

Guest
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

2021-12-22.png
 
P

Pabblymember11

Guest
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
 
Top