Error: ‘Server was unable to process request. Object reference not set to an instance of an object. when making a C# API call to 'Appeal Edit Form 2'

C# API call to 'Appeal Edit Form 2' fails with an object reference error: Server was unable to process request. ---> Object reference not set to an instance of an object.
{CR}

Steps to Duplicate

            DataFormSaveRequest req = new DataFormSaveRequest();
            
            req.FormName = "Appeal Edit Form 2";
            req.FormID = new Guid("1C33786D-E31B-42FA-BA4C-C25FE281782E");

            req.ID = appealID.ToString();
            req.ProcessCreditCards = false;
            req.ClientAppInfo = header;
            req.DataFormItem = new DataFormItem();

            try
            {
                DataFormSaveReply res = new DataFormSaveReply();
                res = service.DataFormSave(req);
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.Message); // Server was unable to process request. ---> Object reference not set to an instance of an object.
            }
 

Environment

 Blackbaud Infinity SDK

Was this article helpful?


Thanks for your feedback! Did this solve your issue?

Comments (optional):


Thanks for your feedback!
We're glad it was helpful but sorry it didn’t solve your issue. If you need assistance, click Chat with Support below.
We’re sorry to hear that. Please tell us why.

 I don't like how this works.

 The answer is confusing.

 The answer didn't match what I was searching for.

Additional Comments (optional):


Thanks for your feedback! If you need assistance, click Chat with Support below.
Thanks for your feedback. Help us make our products even better by sharing details in our Idea Banks or our online Community.
Thanks for letting us know. We'll work on clarifying the information in the article. If you need assistance, click Chat with Support below.
Thanks for letting us know. We'll work on updating the search engine to return more relevant results.