My best guess is that the pResponse.Records object does not exist yet, since you have just created pResponse.

I would guess that pResponse.Records is a null reference at this point.

So, you are unable to insert anything because there is nothing to insert into.

I believe you will need to instantiate a new pResponse.Records object, whatever type of class that is, before you call the InsertObject method.