bytebase / bytebase/bytebase

Error on Sync Schema: Code 13: Internal [internal] failed to get target schema

Open
#20,493 2 comments 0 reactions 1 assignee View on GitHub

@rebelice is already working on this.

Since Jun 17, 2026.

Dominant language
Go
Stars
14.5k
Forks
984
Avg merge
15h 58m
Merged PRs (30d)
256

Description

Provide the Bytebase version you are using

Cloud

Describe the bug

In the Step #2 when trying to Sync Schema, I select a single Target Database. Then , the compare process starts, it shows an initial comparison, but then an error pop-ups:

Code 13: Internal 
[internal] failed to get target schema: failed to parse target schema: failed to parse Oracle schema: ERROR: syntax error at or near "FROM" (SQLSTATE 42601)
Image
Steps to reproduce
  1. Inside a Project, go to Sync Schema
  2. Select a Source Database, then click Next
  3. Click on Please Select , and select a Target Database
  4. then the dialog error pops up.
  5. The Preview Issue button stays disabled.
Expected behavior

I'm not sure if the error generates a problem with the comparison procedure.

Provide the database you are using

Oracle 21

Additional context

No response

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.