Change message to: `Given api is not supported. Supported api is instance of `ApiContext`.