---
title: "Check that a custom plugin file can be installed on a service without connector class conflicts"
method: POST
path: "/project/{project}/service/{service_name}/validate-custom-plugin-classes"
tags: ["Service:_Kafka"]
---

# Check that a custom plugin file can be installed on a service without connector class conflicts

`POST /project/{project}/service/{service_name}/validate-custom-plugin-classes`

## Request

- Base URL: `https://api.aiven.io/v1`
- URL: `https://api.aiven.io/v1/project/{project}/service/{service_name}/validate-custom-plugin-classes`
- Auth: HTTP bearer and OAuth 2
  - Authorization code: `https://console.aiven.io/oauth/authorize`
  - Token URL: `https://api.aiven.io/v1/oauth2/token` scopes: `services:read`

Validates the `custom_plugins` configuration the service would have if the plugin file were installed on it: the file replaces any other version of the same plugin already configured and is added to the other configured plugins. Nothing is changed on the service. Fails if a connector class of the plugin file is already provided by a managed connector or by another plugin configured on the service.

## Path parameters

- `project` string, required
- `service_name` string, required

## Request body

- ServiceKafkaConnectValidateCustomPluginClassesRequestBody: ServiceKafkaConnectValidateCustomPluginClassesRequestBody
  - `plugin_file_id` string, required: ID of the custom plugin file to check against the service.

## Response `200`

Response

- ServiceKafkaConnectValidateCustomPluginClassesResponse: ServiceKafkaConnectValidateCustomPluginClassesResponse
  - `valid` boolean, required: Always true: a plugin file that cannot be installed on the service is reported as an error.

## Other responses

- `400`: Invalid request parameters
- `403`: Operation not allowed
- `404`: Resource not found

## Changes

- **2026-10-15** `84b4640e4ef5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/aiven/apis/aiven-api-documentation/changes/project/:project/service/:service_name/validate-custom-plugin-classes/post.md)

---

[API](https://skmtc.dev/aiven/apis/aiven-api-documentation.md) - [All operations](https://skmtc.dev/aiven/apis/aiven-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/aiven/apis/aiven-api-documentation/revisions/562453405db0?raw)
