How do I make Github "Create a Comment" module accept long strings?

My goal is to push a comment to a specific github issue. I pull said github issue’s contents, do some data crunching, then post back with some large text.
When I put in a short comment for the “Body” field of “Create a Comment” module, it works, but when I paste a long string, it fails.
There seem to be issues related to parsing variables in the “Create a Comment” module. The error from the long string is " {200 Parse error on “World” (IDENTIFIER) at 1, 135}"

Also, sometimes the way I feed the “Subject ID” also can lead to errors. When I take the “Issue ID” from “Get an Issue” module and put it into the “Subject ID” of “Create a Comment” module, it can fail. However if I store the “Issue ID” as a variable in “Set a Variable”, then pass it on to “Create a Comment” module, it works. This was an issue 2 days ago but I can’t seem to be able to replicate it now. I had submitted a ticket, maybe that resolved the issue but I haven’t heard back on the ticket yet.

I’m more concerned about the long string issue. Can anyone help?

Thanks,

Welcome to the Make community!

1. Screenshots of module fields and filters

Please share screenshots of relevant module fields and filters in question? It would really help other community members to see what you’re looking at.

You can upload images here using the Upload icon in the text editor:
Screenshot_2023-10-07_111039

2. Scenario blueprint

Please export the scenario blueprint file to allow others to view the mappings and settings. At the bottom of the scenario editor, you can click on the three dots to find the Export Blueprint menu item.

Screenshot_2023-08-24_230826
(Note: Exporting your scenario will not include private information or keys to your connections)

Uploading it here will look like this:

blueprint.json (12.3 KB)

3. And most importantly, Output bundles

Please provide the output bundles of the modules by running the scenario, then click the white speech bubble on the top-right of each module and select “Download output bundles”.
Screenshot_2023-10-06_141025

A.

Save the bundle contents in your text editor as a bundle.txt file, and upload it here into this discussion thread.

Uploading it here will look like this:

bundle.txt (12.3 KB)

B.

If you are unable to upload files on this forum, alternatively you can paste the formatted output bundle in this manner:

  • Either add three backticks ``` before and after the code, like this:

    ```
    input/output bundle content goes here
    ```

  • Or use the format code button in the editor:
    Screenshot_2023-10-02_191027

Providing the output bundles will allow others to replicate what is going on in the scenario even if they do not use the external service.

Following these steps will allow others to assist you here. Thanks!

samliewrequest private consultation

Join the unofficial Make Discord server to chat with us!

1 Like