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

Send design tokens to URL option does not work : Error 422 #287

Open
shamaleyte opened this issue Oct 17, 2023 · 0 comments
Open

Send design tokens to URL option does not work : Error 422 #287

shamaleyte opened this issue Oct 17, 2023 · 0 comments

Comments

@shamaleyte
Copy link

shamaleyte commented Oct 17, 2023

I am not able to connect the plugin to a Github repo that I forked from https://github.com/lukasoppermann/design-token-transformer.

On the Figma side ;

Seeing the following error in console.log of Figma;

   POST https://api.github.com/repos/shamaleyte/design-token-transformer/dispatches 422 (Unprocessable Content)

Getting this error : https://share.cleanshot.com/cqRwnlf1.
With this kind of parameter list :
https://share.cleanshot.com/9tqWMwqN

While my request works in Postman and the workflow ( action ) runs without any problem
https://share.cleanshot.com/mq5GgNYv

Any ideas?

it is the log of the same request in Postman


{
    "message": "client_payload is too large.",
    "documentation_url": "https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event"
}

I believe the error message indicates that the payload being sent exceeds the size limit for the GitHub API's repository dispatch event.

Not sure if I can use this github integration in this case, ideas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant