{"record":{"id":"5dec30e1b2c06981","repo":"hasura/graphql-engine","slug":"unsupported-source-kind-source-name-v-kind-v","errorCode":null,"errorMessage":"unsupported source kind, source name: %v kind: %v","messagePattern":"unsupported source kind, source name: (.+?) kind: (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"cli/migrate/database/hasuradb/hasuradb.go","lineNumber":367,"sourceCode":"\t\t\tif err != nil {\n\t\t\t\treturn errors.E(op, err)\n\t\t\t}\n\t\tcase hasura.SourceKindBigQuery:\n\t\t\tif noTransaction {\n\t\t\t\th.logger.Warn(\n\t\t\t\t\t\"no-transaction is not supported for BigQuery sources; the migration will run inside a transaction\",\n\t\t\t\t)\n\t\t\t}\n\n\t\t\t_, err := h.bigquerySourceOps.BigQueryRunSQL(hasura.BigQueryRunSQLInput(sqlInput))\n\t\t\tif err != nil {\n\t\t\t\treturn err\n\t\t\t}\n\n\t\tdefault:\n\t\t\treturn errors.E(\n\t\t\t\top,\n\t\t\t\tfmt.Errorf(\n\t\t\t\t\t\"unsupported source kind, source name: %v kind: %v\",\n\t\t\t\t\th.hasuraOpts.SourceName,\n\t\t\t\t\th.hasuraOpts.SourceKind,\n\t\t\t\t),\n\t\t\t)\n\t\t}\n\tcase \"meta\":\n\t\tvar metadataRequests []any\n\n\t\terr := json.Unmarshal(migr, &metadataRequests)\n\t\tif err != nil {\n\t\t\th.migrationQuery.ResetArgs()\n\n\t\t\treturn errors.E(op, err)\n\t\t}\n\n\t\terr = sendMetadataMigrations(h, metadataRequests)\n\t\tif err != nil {","sourceCodeStart":349,"sourceCodeEnd":385,"githubUrl":"https://github.com/hasura/graphql-engine/blob/724551b9ae87845594ef0408cff0e50eb6c90dc5/cli/migrate/database/hasuradb/hasuradb.go#L349-L385","documentation":"HasuraDB driver Run() dispatches on the source kind (e.g. postgres, mssql, bigquery) and returns this error when the configured source kind is not one it knows how to execute SQL against.","triggerScenarios":"Executing a migration/data API call via the hasuradb driver while hasuraOpts.SourceKind is set to a kind the Run switch does not handle (anything beyond the supported kinds).","commonSituations":"Adding a new or exotic source kind (e.g. ClickHouse, Citus) to a Hasura instance while using a CLI version whose migrate driver does not support it.","solutions":["Upgrade the CLI to a version that supports your source kind","Run migrations against a supported source kind (typically postgres)","Check config.yaml / source settings for the correct source kind string"],"exampleFix":null,"handlingStrategy":"validation","validationCode":"switch sourceKind {\ncase \"postgres\", \"mssql\", \"bigquery\":\ndefault:\n    return fmt.Errorf(\"cannot run migrations against source kind %q\", sourceKind)\n}","typeGuard":null,"tryCatchPattern":null,"preventionTips":["Check source kind in Hasura metadata before scripting migrations","Keep CLI version aligned with supported source kinds"],"tags":["hasura","source-kind","migration","unsupported"],"backgroundTag":"unsupported-source-kind","analyzedSha":"724551b9ae87845594ef0408cff0e50eb6c90dc5","analyzedAt":"2026-08-28T07:32:55.105Z","schemaVersion":2},"datasetVersion":"2026-08-28T11:17:15.048Z"}