<@U04S8PLJWMT> I'm trying to make a custom connect...
# ask-ai
e
@kapa.ai I'm trying to make a custom connector as a fork of Intercom 0.13.6. All streams work fine during tests except tickets and conversations. Both give "An unknown error has occurred" while being tested. No logs, no request or response. How do I debug this? Airbyte version is 1.8.2.
k
Debugging custom connectors in Airbyte, especially when you get "An unknown error has occurred" with no logs or request/response, can be challenging. Here are some steps and considerations based on the available knowledge sources: 1. Connector Builder UI Issues There are known issues with the Connector Builder UI in recent Airbyte versions (1.7.1+), where even valid YAML or working connectors can fail to save or test, showing only a generic error and providing no logs. This is confirmed by users who found that the same connector works when running Airbyte locally, but fails in their main deployment (e.g., on Kubernetes). If you are using the Connector Builder UI, this could be the root cause, and not an issue with your connector code itself. Testing locally (as you did) is a good way to isolate the problem. Unfortunately, there is no clear workaround except to wait for a fix or use local development for now [Connector Builder UI YAML error](https://github.com/airbytehq/airbyte/issues/65568). 2. Permission Issues for Tickets Stream For the
tickets
stream, ensure that your Intercom app has the correct "Read Tickets" permission. A missing or cached permission can cause the stream to fail silently or with a generic error. One user resolved a similar issue by fixing an authentication caching problem [Tickets permission scope error](https://github.com/airbytehq/airbyte/issues/64110). 3. Debugging Without Logs If you are not seeing logs, try running the connector outside the UI, directly via Docker. For example:
Copy code
bash    docker run --rm -v $(pwd)/secrets:/secrets airbyte/custom-source-name check --config secrets/config.json
This can sometimes surface errors that the UI hides [Uncaught exception when configuring custom source connector](https://discuss.airbyte.io/t/1230). 4. Recent Changes to Intercom Connector The Intercom connector has recently undergone significant changes, including the addition of a separate
Tickets
stream and updates to the API version (now 2.11). If you forked from 0.13.6, ensure your fork is compatible with these changes and that your manifest/schema matches the latest requirements [Intercom changelog](https://docs.airbyte.com/integrations/sources/intercom#changelog). 5. General Debugging Tips - Double-check your YAML/manifest for syntax errors, especially if editing by hand. - If possible, increase resource limits (CPU/memory) for your Airbyte deployment, as resource exhaustion can sometimes cause silent failures. - Try to isolate whether the error is in the connector logic or the Airbyte platform by running the connector in a different environment (local vs. Kubernetes). Summary: Given the symptoms and recent reports, the most likely cause is a bug or limitation in the Connector Builder UI in Airbyte 1.8.2, especially if your connector works locally. For the
tickets
stream, also verify Intercom permissions. For deeper debugging, run the connector directly via Docker to capture more detailed errors. If the problem persists only in the UI, consider reporting it (if not already tracked) and use local development as a workaround for now. If you need more targeted help, please provide your connector YAML and any environment details, or try running the connector outside the UI to capture more verbose errors.