So, this is a bit of a weird issue as it is happening to a few different API calls throughout the plugin I’m making. In the plugin editor I am able to Initialize the POST request and it works and creates the object. However, when I use the action in a workflow it returns an error that it is missing required information for the call.
As you can see in this screenshot the call is initialized and working.
In my test page I have the user able to type values in inputs for the calendar title and calendar type. And a button that allows them to create the calendar feed. The button will only allow the user to press it when the inputs are not empty.
In the workflow after the user clicks the button it uses the values from the inputs as the data for the workflow action.
However even with the information being filled out when making a request it still gives an error saying it is missing the information for the Calendar Title and Type. The error print off is a little hard to read, but it says that “A calendar title is required” “field missing” “Calendar title was not provided” “A calendar type is required” “field missing” “Calendar type was not provided”.
The fields it is requesting are not empty and so I’m not sure why it thinks they are. The odd thing is that the Update/PUT request works fine, and the fields are not missing when it is called. It does this for a few of the other API calls for this plugin and I’m not sure why. But it does work in the plugin editor when initializing it as I was able to create all the calendar feeds in the repeating group list shown in the test page through the plugin editor.
Any help on this would be much appreciated. as I cannot seem to figure out this issue.