Skip to content

Validation error Website must be valid #623

@tscott-au

Description

@tscott-au

SDK Version 12.0.1

Existing Xero contacts can not be updated via the Contacts api if someone has set the Website attribute on the contact via the Xero dashboard, even if the Website is valid.
The api will return the error "Website must be valid".

To Reproduce
Steps to reproduce the behavior:

  1. Create a Contact via the sdk/api.
  2. Go to Xero dashobard and set the Website on the newly created Contact to a valid website.
  3. Update a field on the Contact via the sdk/api
  4. See error "Website must be valid", reported.

Expected behavior
Activity via the Xero dashboard should not break integrations via the sdk/api, or there should be some means of recovery via the sdk/api.

This issue is not caused by the Xero-NetStandard sdk, however there does not appear to be a better place to record it and it may impact others using the sdk.

For Integrations where Xero is NOT the owner of the contact data this bug makes the integration fragile. Staff have to be specificilly trained not to use the Xero Contact Website field otherwise the sdk/api will fail until the website field has been blanked out via the Xero dashboard.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions