airbytehq / airbytehq/airbyte

[source-zendesk-support] Auth issue 500 error

未關閉
#65,088 3 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
area/connectors area/platform autoteam community connectors/source/zendesk-support needs-triage team/extensibility team/use type/bug
主要語言
Python
星號
22.1k
分支
5.3k
PR 合併指標
PR 指標待擷取

描述

### Connector Name

source-zendesk-support

### Connector Version

4.10.7

### What step the error happened?

Configuring a new connector

### Relevant information

I have an existing zendesk support source. We recently rotated credentials so i need to switch the API tokens. But for some reason it’s not using the correct one? I keep getting a 500 error and this in the logs even though it’s clear in the UI i’m using the API token

### Relevant log output

```shell
2025-08-19 15:55:44,855 [io-executor-thread-3] INFO i.a.v.j.JsonSchemaValidator(test):119 - JSON schema validation failed.
errors: $.credentials: must be the constant value 'oauth2.0', $: required property 'access_token' not found
2025-08-19 15:55:44,878 [io-executor-thread-3] ERROR i.a.c.s.e.h.UncaughtExceptionHandler(handle):33 - Uncaught exception
java.lang.RuntimeException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setStrictness(Strictness.LENIENT) to accept malformed JSON at line 1 column 1 path $
See https://github.com/google/gson/blob/main/Troubleshooting.md#malformed-json
at io.airbyte.server.apis.ApiHelper.execute(ApiHelper.kt:44)
at io.airbyte.server.apis.controllers.SourceApiController.checkConnectionToSourceForUpdate(SourceApiController.kt:70)
at io.airbyte.server.apis.controllers.$SourceApiController$Definition$Exec.dispatch(Unknown Source)
at io.micronaut.context.AbstractExecutableMethodsDefinition$DispatchedExecutableMethod.invokeUnsafe(AbstractExecutableMethodsDefinition.java:461)
at io.micronaut.context.DefaultBeanContext$BeanContextUnsafeExecutionHandle.invokeUnsafe(DefaultBeanContext.java:4438)
at io.micronaut.web.router.AbstractRouteMatch.execute(AbstractRouteMatch.java:272)
at io.micronaut.web.router.DefaultUriRouteMatch.execute(DefaultUriRouteMatch.java:38)
at io.micronaut.http.server.RouteExecutor.executeRouteAndConvertBody(RouteExecutor.java:465)
at io.micronaut.http.server.RouteExecutor.lambda$callRoute$5(RouteExecutor.java:442)
at io.micronaut.core.execution.ExecutionFlow.lambda$async$0(ExecutionFlow.java:92)
at io.micronaut.core.propagation.PropagatedContext.lambda$wrap$3(PropagatedContext.java:232)
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)
Caused by: com.google.gson.stream.MalformedJsonException: Use JsonReader.setStrictness(Strictness.LENIENT) to accept malformed JSON at line 1 column 1 path $
See https://github.com/google/gson/blob/main/Troubleshooting.md#malformed-json
at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1800)
at com.google.gson.stream.JsonReader.checkLenient(JsonReader.java:1596)
at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:716)
at com.google.gson.stream.JsonReader.peek(JsonReader.java:547)
at com.google.api.client.json.gson.GsonParser.nextToken(GsonParser.java:149)
at com.google.api.client.json.JsonParser.startParsing(JsonParser.java:213)
at com.google.api.client.json.JsonParser.parse(JsonParser.java:358)
at com.google.api.client.json.JsonParser.parse(JsonParser.java:335)
at com.google.api.client.json.JsonObjectParser.parseAndClose(JsonObjectParser.java:79)
at com.google.api.client.json.JsonObjectParser.parseAndClose(JsonObjectParser.java:73)
at com.google.auth.oauth2.GoogleCredentials.fromStream(GoogleCredentials.java:203)
at com.google.auth.oauth2.ServiceAccountCredentials.fromStream(ServiceAccountCredentials.java:488)
at com.google.auth.oauth2.ServiceAccountCredentials.fromStream(ServiceAccountCredentials.java:464)
at io.airbyte.config.secrets.persistence.GoogleSecretManagerServiceClient.createClient(GoogleSecretManagerPersistence.kt:232)
at io.airbyte.config.secrets.persistence.GoogleSecretManagerPersistence.writeWithExpiry(GoogleSecretManagerPersistence.kt:108)
at io.airbyte.config.secrets.SecretsRepositoryWriter.splitSecretConfig(SecretsRepositoryWriter.kt:358)
at io.airbyte.config.secrets.SecretsRepositoryWriter.createEphemeralFromConfig(SecretsRepositoryWriter.kt:334)
at io.airbyte.commons.server.helpers.SecretSanitizer.sanitizePartialConfig(SecretSanitizer.kt:46)
at io.airbyte.commons.server.handlers.SchedulerHandler.checkSourceConnectionFromSourceCreate(SchedulerHandler.kt:158)
at io.airbyte.commons.server.handlers.SchedulerHandler.checkSourceConnectionFromSourceIdForUpdate(SchedulerHandler.kt:212)
at io.airbyte.server.apis.controllers.SourceApiController.checkConnectionToSourceForUpdate$lambda$2(SourceApiController.kt:70)
at io.airbyte.server.apis.ApiHelper.execute(ApiHelper.kt:32)
... 13 common frames omitted
```

### Contribute

- [ ] Yes, I want to contribute

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。