Unexpected 400 Error in the Management API when Connecting an Organization to a Connection

Overview

When trying to connect an organization to the connection admin gets an unexpected 400 error in the Management API.

Body response:

{
"statusCode": 400,
"error": "Bad Request",
"message": "Only database connections support is_signup_enabled",
"errorCode": "invalid_body"
}

Applies To

  • Management API
  • 400 Error
  • Enterprise connection

Cause

This error will trigger if the “is_signup_enabled”: true is in the request’s body if the connection that the admin is trying to connect to is an Enterprise connection.

Solution

The value is_signup_enabled needs to be present in the body only if the Connection to which the Organisation should be added is a database connection.

If it is Enterprise, remove the field “is_signup_enabled”: true , and it will work.