REST API call succeeding but failing to load data into object

I am creating an API call to retrieve a list of committees and store them in a corresponding object. The API connection is setup using REST and I can see in the log that it successfully retrieves the list of committees. I have setup a payload response for the static elements, and a template for the repeating elements. There is a to many relationship from the placeholder object and the Committees object. As far as I can tell the issue is with the call generating the records in the object. I keep getting a “Missing required parameters” error, but there are no parameters required in the request, and the only parameter I have set as required in the response is an ID value that is definitely included for every committee. There are a few committees with a missing value for the category. The value of committees count varies unpredictably but is not data that I’m interested in. The API only seems to return the response as XML.

Here is an example of the XML response:

<?xml version="1.0" encoding="utf-8"?>
<committees>
  <committeescount> 85</committeescount>
  <committee>
    <committeeid>123</committeeid>
    <committeetitle>Audit Committee</committeetitle>
    <committeedeleted>False</committeedeleted>
    <committeeexpired>True</committeeexpired>
    <committeecategory>Former Committees, Joint Committees and Forums</committeecategory>
  </committee>
  <committee>
    <committeeid>728</committeeid>
    <committeetitle>Audit, Risk and Governance Committee</committeetitle>
    <committeedeleted>False</committeedeleted>
    <committeeexpired>False</committeeexpired>
    <committeecategory>Other Council Committees</committeecategory>
  </committee>
  <committee>
    <committeeid>398</committeeid>
    <committeetitle>Burnley Three Tier Forum</committeetitle>
    <committeedeleted>False</committeedeleted>
    <committeeexpired>True</committeeexpired>
    <committeecategory>Former Committees, Joint Committees and Forums</committeecategory>
  </committee>
</committees>

Anyone got any idea why this keeps failing?

Hi, do you have any output from the API object ? Maybe there is something in the Request Payload field which could provide a clue.

Here is a screencap of the details for the call.

Hi,

It could be down to something like your request selection being set to “One record” in basics when you aren’t giving it a record and the “Missing requires parameter” would be referring to your empty request payload when it wants reference to a record.

If this is the issue then setting request selection to “None” and choosing “Match else create” or giving context to the record should solve your issue. If this is already configured like this I can’t see any issue with what you have there.

Hope you get this solved asap,
Dan.