Skip to content

businessType is not being read when creating or updating a toll-free verification request #1175

@kyleabens

Description

@kyleabens

With businessType now being required, we have added businessType: "SOLE_PROPRIETOR" to the data being passed when calling twilioClient.messaging.v1.tollfreeVerifications.create. The issue now is this is instantly failing with the following error:

RestException [Error]: Business Type is required. If the Business Type is not SOLE_PROPRIETOR then Business Registration Number, Business Registration Authority, and Business Registration Country are also required

I tried passing the data via a curl command and that worked so this is clearly something with this twilio package.

I am using "twilio": "^5.0.3"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions