Skip to content

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

@shamaleyte

Description

@shamaleyte

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions