Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

D2 encountered an API error: the link to the playground is reported #58

Open
yubrshen opened this issue May 14, 2024 · 0 comments
Open

Comments

@yubrshen
Copy link

Here is the link with the error:
https://play.d2lang.com/?script=NMqxCsIwFIXhPU9xwDlQdMvm6ObgC1yTYxtoc-EmLYjk3YWI43fOf4jVgI8D0tlHLa88_wis8ta9eZY5FwY0aTL2Ex4LIU89iCh7ZYXger-BZmr_hLblIivawo2ImjieQZ9TwGWaHNBdd98AAAD__w%3D%3D&layout=tala&

Here is the code that cause the error:

vars: {
  d2-config: {
    layout-engine: tata
    # The above causes a API error
    # Terminal theme code
    theme-id: 300
  }
}

It seems that the offending line of the code is
layout-engine: tata

If I commented out this line, then there is no more API error.

@alixander alixander transferred this issue from terrastruct/d2 May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant