error in connector-builder during testing custom S...
# replication-troubleshooting
h
error in connector-builder during testing custom Stripe connector 2025-08-29 112056,670 [io-executor-thread-23] ERROR i.a.c.s.e.h.UncaughtExceptionHandler(handle):33 - Uncaught exception java.lang.IllegalArgumentException: Cannot construct instance of
io.airbyte.connectorbuilder.api.model.generated.StreamReadLogsInner$LevelEnum
, problem: Unexpected value 'DEBUG' at [Source: UNKNOWN; byte offset: #UNKNOWN] (through reference chain: java.util.ArrayList[0]->io.airbyte.connectorbuilder.api.model.generated.StreamReadLogsInner["level"]) at com.fasterxml.jackson.databind.ObjectMapper._convert(ObjectMapper.java:4663) at com.fasterxml.jackson.databind.ObjectMapper.convertValue(ObjectMapper.java:4604) at io.airbyte.connectorbuilder.requester.AirbyteCdkRequesterImpl.convertToList(AirbyteCdkRequesterImpl.kt:368)
k
The error you are seeing:
Copy code
java.lang.IllegalArgumentException: Cannot construct instance of `io.airbyte.connectorbuilder.api.model.generated.StreamReadLogsInner$LevelEnum`, problem: Unexpected value 'DEBUG'
indicates that the Connector Builder is encountering a log level value (
DEBUG
) that it does not recognize or support in its
LevelEnum
. This is a deserialization issue where the enum does not have a value for
DEBUG
, but the logs being processed contain this value. While the knowledge sources do not mention this exact error, they do provide related guidance about log levels in Airbyte. Specifically, it is recommended to turn off
DEBUG
logs for any non-testing use of Self-Managed Airbyte, as excessive debug logging can cause issues with the server pod and overall deployment stability. This suggests that
DEBUG
log levels may not be fully supported or expected in production or certain Airbyte components, which could be related to your error if the Connector Builder is not set up to handle
DEBUG
log entries in its schema or codebase [Scaling Airbyte After Installation](https://docs.airbyte.com/platform/enterprise-setup/scaling-airbyte#debug-logs). What you can do: - Check your connector or Airbyte instance configuration to ensure that
DEBUG
logging is disabled, especially for the Connector Builder. - If you are customizing the Stripe connector, review any code or configuration that might emit logs at the
DEBUG
level and change them to a supported level (such as
INFO
,
WARN
, or
ERROR
). - If you believe
DEBUG
should be supported, you may need to update the Connector Builder's code or schema to include
DEBUG
in the
LevelEnum
, but this would require a code change and is not covered in the official documentation. If you continue to encounter this issue, consider opening a GitHub issue with the Airbyte team, providing the error details and your connector configuration. I'm sorry, but the knowledge sources do not contain a direct solution or documentation for this specific error in the Connector Builder.