I have published two surveys from one feature layer. The first survey is for field staff to collect data, and the second survey is for other staff to review and approve submissions (using the Inbox). I recently made an edit to both surveys where I changed the bind::esri:fieldType of two fields to null (the fields are necessary for calculations but there is no need to save them). I then deleted them from the feature layer in AGOL. After doing so, the first version still works fine and submissions are saved to AGOL. But when trying to refresh the Inbox of the second version to review submissions, I get an Error code 400: "Cannot perform query. Invalid query parameters." The deleted fields are not used in the Inbox query.
I re-checked all fields and everything seemed correct, so I copied both versions and published the copies. These test versions work as expected and the Inbox refreshes with no issues. So it seems the issue was caused from deleting fields from the feature service.
Should I not delete attributes from a feature layer if they are no longer needed in the survey? Or what should I have done differently? Is it possible to save this survey, or do I just have to start over with the copied surveys?