Ethan Veres
07/20/2023, 10:45 PM0.50.8) and now /api/v1/source_definitions/grant_definition is throwing a Null Pointer Exceptionkapa.ai
07/20/2023, 10:45 PMkapa.ai
07/20/2023, 10:45 PM/api/v1/source_definitions/grant_definition endpoint isn't directly addressed in the extracts. In some cases, users have resolved their issues by further upgrading Airbyte to the latest version. However, since you're already on the latest version (0.50.8), this might not be applicable. One user mentioned that they resolved their issue by using the API endpoints /v1/sources/list, /v1/source_definitions/list_private, and /v1/source_definitions/grant_definition. It's not clear from the extract whether this might be relevant to your situation, but it could be worth exploring. If the issue persists, I would recommend reaching out to the Airbyte community on their [Slack channel](https://airbytehq.slack.com) or [discussion forum](https://discuss.airbyte.io) for further assistance. You could also consider creating a GitHub issue on the [Airbyte repository](https://github.com/airbytehq/airbyte/issues) to report the problem.Ethan Veres
07/20/2023, 11:28 PM{
"message": "Internal Server Error: null",
"exceptionClassName": "java.lang.NullPointerException",
"exceptionStack": [
"java.lang.NullPointerException",
"\tat java.base/java.util.Objects.requireNonNull(Objects.java:233)",
"\tat java.base/java.util.Optional.of(Optional.java:113)",
"\tat io.airbyte.config.persistence.ConfigRepository.getStandardSourceDefinition(ConfigRepository.java:523)",
"\tat io.airbyte.commons.server.handlers.SourceDefinitionsHandler.grantSourceDefinitionToWorkspaceOrOrganization(SourceDefinitionsHandler.java:358)",
"\tat io.airbyte.server.apis.SourceDefinitionApiController.lambda$grantSourceDefinition$5(SourceDefinitionApiController.java:105)",
"\tat io.airbyte.server.apis.ApiHelper.execute(ApiHelper.java:26)",
"\tat io.airbyte.server.apis.SourceDefinitionApiController.grantSourceDefinition(SourceDefinitionApiController.java:105)",
"\tat io.airbyte.server.apis.$SourceDefinitionApiController$Definition$Exec.dispatch(Unknown Source)",
"\tat io.micronaut.context.AbstractExecutableMethodsDefinition$DispatchedExecutableMethod.invoke(AbstractExecutableMethodsDefinition.java:371)",
"\tat io.micronaut.context.DefaultBeanContext$4.invoke(DefaultBeanContext.java:594)",
"\tat io.micronaut.web.router.AbstractRouteMatch.execute(AbstractRouteMatch.java:303)",
"\tat io.micronaut.web.router.RouteMatch.execute(RouteMatch.java:111)",
"\tat io.micronaut.http.context.ServerRequestContext.with(ServerRequestContext.java:103)",
"\tat io.micronaut.http.server.RouteExecutor.lambda$executeRoute$14(RouteExecutor.java:659)",
"\tat reactor.core.publisher.FluxDeferContextual.subscribe(FluxDeferContextual.java:49)",
"\tat reactor.core.publisher.InternalFluxOperator.subscribe(InternalFluxOperator.java:62)",
"\tat reactor.core.publisher.FluxSubscribeOn$SubscribeOnSubscriber.run(FluxSubscribeOn.java:194)",
"\tat io.micronaut.reactive.reactor.instrument.ReactorInstrumentation.lambda$init$0(ReactorInstrumentation.java:62)",
"\tat reactor.core.scheduler.WorkerTask.call(WorkerTask.java:84)",
"\tat reactor.core.scheduler.WorkerTask.call(WorkerTask.java:37)",
"\tat io.micronaut.scheduling.instrument.InvocationInstrumenterWrappedCallable.call(InvocationInstrumenterWrappedCallable.java:53)",
"\tat java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)",
"\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)",
"\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)",
"\tat java.base/java.lang.Thread.run(Thread.java:1589)"
]
}Jeff Crooks
08/17/2023, 2:48 PMEthan Veres
08/17/2023, 2:49 PMEthan Veres
08/17/2023, 2:49 PM{
"scopeId": "<workspace_id>",
"scopeType": "workspace",
"actorDefinitionId": "<source_definition_id>"
}Jeff Crooks
08/17/2023, 2:51 PMJeff Crooks
08/17/2023, 2:52 PMJeff Crooks
08/17/2023, 3:39 PM