Error Adding New Connector via UI in Airbyte

Summary

When trying to add a new connector to Airbyte via the UI, an ‘An unexpected error occurred. Please report this if the issue persists. (HTTP 500)’ error is encountered. The server logs show an ‘IllegalStateException: Get Spec job failed’ error.


Question

Hello people, can you help me to understand what to do with my problem? i’m trying to add new connector to airbyte with UI, but i get An unexpected error occurred. Please report this if the issue persists. (HTTP 500) error, even if i’m trying to add verified existing connector. Server logs says nothing useful to me:

java.lang.IllegalStateException: Get Spec job failed.
	at com.google.common.base.Preconditions.checkState(Preconditions.java:515) ~[guava-33.2.0-jre.jar:?]
	at io.airbyte.commons.server.converters.SpecFetcher.getSpecFromJob(SpecFetcher.java:17) ~[io.airbyte-airbyte-commons-server-0.63.13.jar:?]
	at io.airbyte.commons.server.handlers.helpers.ActorDefinitionHandlerHelper.getSpecForImage(ActorDefinitionHandlerHelper.java:162) ~[io.airbyte-airbyte-commons-server-0.63.13.jar:?]
	at io.airbyte.commons.server.handlers.helpers.ActorDefinitionHandlerHelper.defaultDefinitionVersionFromCreate(ActorDefinitionHandlerHelper.java:79) ~[io.airbyte-airbyte-commons-server-0.63.13.jar:?]
	at io.airbyte.commons.server.handlers.DestinationDefinitionsHandler.createCustomDestinationDefinition(DestinationDefinitionsHandler.java:250) ~[io.airbyte-airbyte-commons-server-0.63.13.jar:?]
	at io.airbyte.server.apis.DestinationDefinitionApiController.lambda$createCustomDestinationDefinition$0(DestinationDefinitionApiController.java:64) ~[io.airbyte-airbyte-server-0.63.13.jar:?]
	at io.airbyte.server.apis.ApiHelper.execute(ApiHelper.java:28) ~[io.airbyte-airbyte-server-0.63.13.jar:?]
	at io.airbyte.server.apis.DestinationDefinitionApiController.createCustomDestinationDefinition(DestinationDefinitionApiController.java:64) ~[io.airbyte-airbyte-server-0.63.13.jar:?]
	at io.airbyte.server.apis.$DestinationDefinitionApiController$Definition$Exec.dispatch(Unknown Source) ~[io.airbyte-airbyte-server-0.63.13.jar:?]
	at io.micronaut.context.AbstractExecutableMethodsDefinition$DispatchedExecutableMethod.invokeUnsafe(AbstractExecutableMethodsDefinition.java:461) ~[micronaut-inject-4.5.4.jar:4.5.4]
	at io.micronaut.context.DefaultBeanContext$BeanContextUnsafeExecutionHandle.invokeUnsafe(DefaultBeanContext.java:4326) ~[micronaut-inject-4.5.4.jar:4.5.4]
	at io.micronaut.web.router.AbstractRouteMatch.execute(AbstractRouteMatch.java:271) ~[micronaut-router-4.5.4.jar:4.5.4]
	at io.micronaut.web.router.DefaultUriRouteMatch.execute(DefaultUriRouteMatch.java:39) ~[micronaut-router-4.5.4.jar:4.5.4]
	at io.micronaut.http.server.RouteExecutor.executeRouteAndConvertBody(RouteExecutor.java:490) ~[micronaut-http-server-4.5.4.jar:4.5.4]
	at io.micronaut.http.server.RouteExecutor.lambda$callRoute$6(RouteExecutor.java:467) ~[micronaut-http-server-4.5.4.jar:4.5.4]
	at io.micronaut.core.execution.ExecutionFlow.lambda$async$1(ExecutionFlow.java:87) ~[micronaut-core-4.5.4.jar:4.5.4]
	at io.micronaut.core.propagation.PropagatedContext.lambda$wrap$3(PropagatedContext.java:211) ~[micronaut-core-4.5.4.jar:4.5.4]
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
	at java.base/java.lang.Thread.run(Thread.java:1583) [?:?]
2024-08-08 13:42:37 ERROR i.a.c.s.e.h.UncaughtExceptionHandler(handle):31 - Uncaught exception
java.lang.IllegalStateException: Get Spec job failed.
	at com.google.common.base.Preconditions.checkState(Preconditions.java:515) ~[guava-33.2.0-jre.jar:?]
	at io.airbyte.commons.server.converters.SpecFetcher.getSpecFromJob(SpecFetcher.java:17) ~[io.airbyte-airbyte-commons-server-0.63.13.jar:?]
	at io.airbyte.commons.server.handlers.helpers.ActorDefinitionHandlerHelper.getSpecForImage(ActorDefinitionHandlerHelper.java:162) ~[io.airbyte-airbyte-commons-server-0.63.13.jar:?]
	at io.airbyte.commons.server.handlers.helpers.ActorDefinitionHandlerHelper.defaultDefinitionVersionFromCreate(ActorDefinitionHandlerHelper.java:79) ~[io.airbyte-airbyte-commons-server-0.63.13.jar:?]
	at io.airbyte.commons.server.handlers.DestinationDefinitionsHandler.createCustomDestinationDefinition(DestinationDefinitionsHandler.java:250) ~[io.airbyte-airbyte-commons-server-0.63.13.jar:?]
	at io.airbyte.server.apis.DestinationDefinitionApiController.lambda$createCustomDestinationDefinition$0(DestinationDefinitionApiController.java:64) ~[io.airbyte-airbyte-server-0.63.13.jar:?]
	at io.airbyte.server.apis.ApiHelper.execute(ApiHelper.java:28) ~[io.airbyte-airbyte-server-0.63.13.jar:?]
	at io.airbyte.server.apis.DestinationDefinitionApiController.createCustomDestinationDefinition(DestinationDefinitionApiController.java:64) ~[io.airbyte-airbyte-server-0.63.13.jar:?]
	at io.airbyte.server.apis.$DestinationDefinitionApiController$Definition$Exec.dispatch(Unknown Source) ~[io.airbyte-airbyte-server-0.63.13.jar:?]
	at io.micronaut.context.AbstractExecutableMethodsDefinition$DispatchedExecutableMethod.invokeUnsafe(AbstractExecutableMethodsDefinition.java:461) ~[micronaut-inject-4.5.4.jar:4.5.4]
	at io.micronaut.context.DefaultBeanContext$BeanContextUnsafeExecutionHandle.invokeUnsafe(DefaultBeanContext.java:4326) ~[micronaut-inject-4.5.4.jar:4.5.4]
	at io.micronaut.web.router.AbstractRouteMatch.execute(AbstractRouteMatch.java:271) ~[micronaut-router-4.5.4.jar:4.5.4]
	at io.micronaut.web.router.DefaultUriRouteMatch.execute(DefaultUriRouteMatch.java:39) ~[micronaut-router-4.5.4.jar:4.5.4]
	at io.micronaut.http.server.RouteExecutor.executeRouteAndConvertBody(RouteExecutor.java:490) ~[micronaut-http-server-4.5.4.jar:4.5.4]
	at io.micronaut.http.server.RouteExecutor.lambda$callRoute$6(RouteExecutor.java:467) ~[micronaut-http-server-4.5.4.jar:4.5.4]
	at io.micronaut.core.execution.ExecutionFlow.lambda$async$1(ExecutionFlow.java:87) ~[micronaut-core-4.5.4.jar:4.5.4]
	at io.micronaut.core.propagation.PropagatedContext.lambda$wrap$3(PropagatedContext.java:211) ~[micronaut-core-4.5.4.jar:4.5.4]
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
	at java.base/java.lang.Thread.run(Thread.java:1583) [?:?]```
please direct me to possible solution

<br>

---

This topic has been created from a Slack thread to give it more visibility.
It will be on Read-Only mode here. [Click here](https://airbytehq.slack.com/archives/C021JANJ6TY/p1723126035820959) if you want 
to access the original thread.

[Join the conversation on Slack](https://slack.airbyte.com)

<sub>
["error", "adding-new-connector", "ui", "http-500", "illegalstateexception", "get-spec-job-failed"]
</sub>