Skip to content

Validation error due to Company identifier is allowed to be 30 chars in the Connectwise UI #17

@NickSchimek

Description

@NickSchimek

Connectwise allows company identifiers to be 30 chars long in the UI.

When attempting to find the company via the name. The library is throwing a validation error when building the response, because it is validating the identifier at 25 chars long when connect wise allows 30 chars long.

Unfortunately their documentation does say 25 chars. But we have preexisting clients that have 30 char identifiers.

Screen Shot 2022-11-30 at 23 21 23

Screen Shot 2022-11-30 at 23 21 34

Expected Behavior

I would expect the response from connect wise not to be validated since connect wise already has their own validations.

Current Behavior

The response from connect wise is validated.

Possible Solution

Do not validate the response
OR Increase the validation to 30 chars

Steps to Reproduce (for bugs)

  1. Create a company in connect wise UI with an identifier that is 30 chars long
  2. Use the companies API to find the company via the name of the company

Context

Your Environment

  • Gem version used:
  • Environment name and ruby version (e.g. PHP 5.4 on nginx 1.9.1):
  • Operating System and version:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions