Jump to content

Gabriel Deschênes

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by Gabriel Deschênes

  1. That works. Error 500 is a weird error for a validation issue. Maybe return a 422 instead. Thanks.
  2. Whenever I add or change main_address of a contact, I get a 500 error: [ { "$severity": "error", "$dataCode": "UnexpectedError", "$message": "An unexpected error occurred.", "$source": "" } ] Here's my request: PUT https://api.accounting.sage.com/v3.1/contacts/1c183acd2c1540c1b2e4e6d94a6a4c2e { "contact": { "name": "[TEST] NEW CUSTOMER", "contact_type_ids": [ "CUSTOMER" ], "main_address": { "address_line_1": "1470 Centre St", "city": "Vaughan", "postal_code": "L4J3N1", "name": "Tony Abshire", "region": "ON", "country": "CA", "is_main_address": true } } } But if I omit the main_address field, the update works. Thanks for looking into it.
×
×
  • Create New...