The apply_canvas_result() method fails saying phone is needed even when phone is provided. It looks like there are many phone contacttypes that might require phone ever since VAN made the update to require phone numbers for phone contact types. There was a previous pr that only addressed the situation for a couple contacttypes - https://github.com/move-coop/parsons/issues/525
I am trying to load canvas results for contacttypeid = 19 (Auto Dial) and it is errorring saying that phone is now required.
I queried and looks like there are potentially a lot more contacttypes that we should include in the section of requiring phone but that are not documented in VAN's documentation as requiring phone...?
Detailed Description
When I try and load canvas results with the contacttypeid of 19, i get the error that
INFO The error was: HTTP error occurred (400): Bad Request, json: {'errors': [{'code': 'INVALID_PARAMETER', 'text': "'phone.phoneNumber' is required.", 'properties': ['canvassContext']}]}
The
apply_canvas_result()
method fails saying phone is needed even when phone is provided. It looks like there are many phone contacttypes that might require phone ever since VAN made the update to require phone numbers for phone contact types. There was a previous pr that only addressed the situation for a couple contacttypes - https://github.com/move-coop/parsons/issues/525 I am trying to load canvas results for contacttypeid = 19 (Auto Dial) and it is errorring saying that phone is now required.I queried and looks like there are potentially a lot more contacttypes that we should include in the section of requiring phone but that are not documented in VAN's documentation as requiring phone...?
Detailed Description
When I try and load canvas results with the contacttypeid of 19, i get the error that
INFO The error was: HTTP error occurred (400): Bad Request, json: {'errors': [{'code': 'INVALID_PARAMETER', 'text': "'phone.phoneNumber' is required.", 'properties': ['canvassContext']}]}
To Reproduce
Your Environment
Additional Context
Add any other context about the problem here.
Priority
medium/ high this is for a member that would like to be able to use a script using this parsons function!