dbt Error: MissingObjectException: Missing Unknown
Issue
While trying to set up dbt, the following error appears in Fivetran:
org.eclipse.jgit.errors.MissingObjectException: Missing unknown 805d10ce3f7684a6577a4967e85d5e0c12977808.
Environment
Transformations for dbt Core
Resolution
To solve this error, recreate your git repo.
Cause
The issue is caused by adding additional packages to the git repository. The exception is inside the JGit library.
See the full stack trace below as an example:
Caused by: org.eclipse.jgit.errors.MissingObjectException: Missing unknown 548898e3d85ae64c79032fcab0508da2f2b2c695 at org.eclipse.jgit.internal.storage.dfs.DfsReader.open(DfsReader.java:223) at org.eclipse.jgit.lib.ObjectDatabase.open(ObjectDatabase.java:143) at org.eclipse.jgit.lib.ObjectDatabase.open(ObjectDatabase.java:113) at org.eclipse.jgit.lib.Repository.open(Repository.java:328) at com.fivetran.dbt.git.GitService.getFiles(GitService.java:91)