I'm creating an item and trying to add a contact to a contact field by profile ID. I assume the profile ID can be obtained from the URL of the contact's profile page.
Here is my code: https://snipt.net/intelliweb/podio-create-item/
Which results in the following:
PHP Fatal error: Uncaught PodioBadRequestError: "One or more of the contacts referenced are no longer valid. Remove the invalid contacts and try again."
I've made sure that the Profile ID is correct and is an integer. Why would the contact referenced be no longer valid?
Please sign in to leave a comment.