Happy Business Starts Here

Zuora Support

Error when sending Quote to Zuora - "Argument cannot be null."

Problem - If you are getting the below error when sending the Quote to Zuora-

 

ArgumentCannotBeNull.png






If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √

1 REPLY 1
Zuora Support

Re: Error when sending Quote to Zuora - "Argument cannot be null."

Solution - I added the debug logs to figure out the reason for this error and in this specific case the error was thrown right after it was quering the contacts data from Zuora. Query which was getting executed and was seen in the logs is as below-

 

SELECT FirstName, LastName, WorkEmail, WorkPhone, Address1,Address2, County, City, State, Country, PostalCode FROM Contact WHERE AccountId = '2c92c0f9695dd20601695f9bebe90707'

When I looked at this Account in Zuora and then the Sold To contact, I see that Address1 was NULL when Address2 had some value in it which was the reason for "Argument cannot be null" error was thrown. When the value from the Address2 was deleted since there was no address for this contact yet, the issue was resolved.

 

Screen Shot 2019-03-08 at 4.17.32 PM.png

 






If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √