Error 422 encountered while creating a subaccount Error 422 encountered while creating a subaccount

Error 422 encountered while creating a subaccount

Tejashree Shivappa

Symptom

Received response 422 "Bad Request" when creating a subaccount

Applies To

  • Subaccount API with Partner Account status 
  • Response 422
  • The request failed due to validation errors

Resolution

Your API secret must have at least:

  • 8 characters and no more than 25
  • 1 lower-case letter
  • 1 capital letter 
  • 1 digit
  • must be unique

Cause

The request to create a new subaccount fails due to validation errors, as the API secret does not meet the specified requirements.

Additional Information 

Vonage Subaccounts API

Vonage Subaccounts API - Create a subaccount