GitHub API request failed: invoke summary failed: data is nil #739

Closed
opened 2026-02-16 10:20:21 -05:00 by yindo · 1 comment
Owner

Originally created by @b4tchkn on GitHub (Oct 21, 2025).

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues Dify issues & Dify Official Plugins, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.8.1

Plugin version

0.2.8

Cloud or Self Hosted

Cloud

Steps to reproduce

  1. Install version 0.2.8 of anggenius/github
  2. Set my personal access token
  3. Add GitHub Node(Repository Contents)
  4. Input Variables(Owner and Repository)
  5. Click Run this step

✔️ Error log

An error occurred in the plugin, please contact the author of langgenius/github/github for help, error type:
InvokeError, error details: GitHub API request failed: invoke summary failed: data is nil
Image
Originally created by @b4tchkn on GitHub (Oct 21, 2025). ### Self Checks - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [Dify issues](https://github.com/langgenius/dify/issues) & [Dify Official Plugins](https://github.com/langgenius/dify-official-plugins/issues), including closed ones. - [x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.8.1 ### Plugin version 0.2.8 ### Cloud or Self Hosted Cloud ### Steps to reproduce 1. Install version 0.2.8 of [anggenius/github](https://marketplace.dify.ai/plugins/langgenius/github) 2. Set my personal access token 3. Add GitHub Node(Repository Contents) 4. Input Variables(Owner and Repository) 5. Click `Run this step` ### ✔️ Error log ``` An error occurred in the plugin, please contact the author of langgenius/github/github for help, error type: InvokeError, error details: GitHub API request failed: invoke summary failed: data is nil ``` <img width="300" height="725" alt="Image" src="https://github.com/user-attachments/assets/21418e0f-bd7d-437d-be65-cdddc68555f3" />
yindo added the bug label 2026-02-16 10:20:21 -05:00
yindo closed this issue 2026-02-16 10:20:21 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Oct 21, 2025):

Hi @b4tchkn! I'm Dosu and I’m helping the dify-official-plugins team.

This error usually means the plugin expected data from the GitHub API but received nothing or a malformed response. There are known issues with the GitHub plugin's error handling and data validation—if the API response is missing fields or not in the expected format, the plugin can fail with errors like this. This is especially common if the personal access token is missing required scopes, or if there are changes in the GitHub API response format. Using a PAT with repo, user:email, and read:user scopes is recommended, but even then, some plugin features may not work reliably until the plugin's response validation is improved. Recent plugin updates have focused on error handling, but core issues remain in older versions like 0.2.8, so these problems can persist. More details and related issues are discussed here.

If you haven't already, double-check your token scopes and consider updating to the latest plugin version when possible. If the issue persists, it's likely due to the plugin's current limitations with API response handling.

To reply, just mention @dosu.


How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other  Join Discord Share on X

@dosubot[bot] commented on GitHub (Oct 21, 2025): <!-- Greeting --> Hi @b4tchkn! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping the dify-official-plugins team. <!-- Answer --> This error usually means the plugin expected data from the GitHub API but received nothing or a malformed response. There are known issues with the GitHub plugin's error handling and data validation—if the API response is missing fields or not in the expected format, the plugin can fail with errors like this. This is especially common if the personal access token is missing required scopes, or if there are changes in the GitHub API response format. Using a PAT with `repo`, `user:email`, and `read:user` scopes is recommended, but even then, some plugin features may not work reliably until the plugin's response validation is improved. Recent plugin updates have focused on error handling, but core issues remain in older versions like 0.2.8, so these problems can persist. More details and related issues are discussed [here](https://github.com/langgenius/dify-official-plugins/issues/1805). If you haven't already, double-check your token scopes and consider updating to the latest plugin version when possible. If the issue persists, it's likely due to the plugin's current limitations with API response handling. <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/a1e661f2-4c11-4719-860f-222ba9afdb6f?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/a1e661f2-4c11-4719-860f-222ba9afdb6f?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/a1e661f2-4c11-4719-860f-222ba9afdb6f?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/a1e661f2-4c11-4719-860f-222ba9afdb6f?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/a1e661f2-4c11-4719-860f-222ba9afdb6f?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/a1e661f2-4c11-4719-860f-222ba9afdb6f?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/a1e661f2-4c11-4719-860f-222ba9afdb6f?feedback_type=other)</sup>&nbsp;&nbsp;[![Join Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share on X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/langgenius/dify-official-plugins/issues/1903)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#739