It appears that when I try to upload a Custom field, I keep getting this error message (Invalid list item ID in OrgUnit or Custom field.). I have already successfully been able to post these in the Entries as well as Line Items (for Invoices), which use the same Lists. And when I look at what the API returns for the Reports I create manually, I see the same List items.
I am using the correct Codes, but it is still throwing this error. Do the default settings have anything to do with this to where it defaults the list to a certain item? Is there a setting to allow/disallow custom fields to be added via API? Or is this an issue in the API?
If I don’t include these Custom fields that utilize lists, everything works fine. I can include Custom fields without lists, and it works fine too.