Reginald Jackson Posted January 23, 2024 Posted January 23, 2024 HI, One of my customers is unable to post a particular sales credit note through the api (having posted many before). They're getting a 422 response code and this error: [{"$severity":"error","$dataCode":"RecordInvalid","$message":"This field is required.","$source":"main_address"}] Has anyone seen this before? I've not had to supply the main_address field before, so I can't understand why this has come up. Cheers Reg
Steel, Mark Posted January 23, 2024 Posted January 23, 2024 Hi Reg, Thanks for your question. If this is a UK business, the main_address will be required if the contact does not have an address set and the business is registered for UK VAT. Thanks Mark
Reginald Jackson Posted January 23, 2024 Author Posted January 23, 2024 Hi Mark, It’s not a UK business (Singapore) and the contact does have an address. Cheers Reg
Reginald Jackson Posted January 23, 2024 Author Posted January 23, 2024 Mark, If it helps, the contact in question had been inactive, but was then made active again? Cheers Reg
Steel, Mark Posted January 23, 2024 Posted January 23, 2024 If you can send me the business ID in a DM i'll take a look. Do you mean the contact is in Singapore or the business the contact belongs to?
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now