You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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)
Create a company in connect wise UI with an identifier that is 30 chars long
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:
The text was updated successfully, but these errors were encountered:
NickSchimek
added a commit
to Jetbuilt/connectwise-ruby-sdk
that referenced
this issue
Nov 30, 2022
Verified that the API on Connectwise does not allow more than 25 chars. So their documentation for the API is correct.
However, their API validation is different than their UI validation.
So either we need to contact Connectwise and see if they can match the two, or update this library not to validate the response. Not validating the response seems like it would be a much bigger change.
@NickSchimek I am planning on re-generating the gem after which we can manually alter the limitation to increase the character count... at least till they can fix their spec.
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.
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)
Context
Your Environment
The text was updated successfully, but these errors were encountered: