plugin omluc / google_sheets seems not access gsheet properly #273

Closed
opened 2026-02-16 10:18:45 -05:00 by yindo · 5 comments
Owner

Originally created by @cottonvalleyholdings on GitHub (May 11, 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.3.1

Plugin version

0.0.1

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

I am triying to get data from a very simple soreadsheet consits of 2 columns only, and the prameter specifies its file ID and sheet name looks correct, but thie node states it improper as follows...

input

{
"spreadsheet_id": "1A0_2mt-odXYNWs6iYUpoxpW40MIw9fQChhKxEZvAMOI",
"ranges": "Sheet1!A1:B10"
}

output

{
"text": "Invalid JSON format for ranges. Please provide a valid JSON array.",
"files": [],
"json": []
}

Image

Aside to this, for its problem isolation, I replaced the file ID with absurd one such as "hogehoge", but the output text did not change while I expected it would change to "the file does not exist" or something else though....

✔️ Error log

input

{
"spreadsheet_id": "1A0_2mt-odXYNWs6iYUpoxpW40MIw9fQChhKxEZvAMOI",
"ranges": "Sheet1!A1:B10"
}

output

{
"text": "Invalid JSON format for ranges. Please provide a valid JSON array.",
"files": [],
"json": []
}

Originally created by @cottonvalleyholdings on GitHub (May 11, 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.3.1 ### Plugin version 0.0.1 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce I am triying to get data from a very simple soreadsheet consits of 2 columns only, and the prameter specifies its file ID and sheet name looks correct, but thie node states it improper as follows... input ------- { "spreadsheet_id": "1A0_2mt-odXYNWs6iYUpoxpW40MIw9fQChhKxEZvAMOI", "ranges": "Sheet1!A1:B10" } output ------- { "text": "Invalid JSON format for ranges. Please provide a valid JSON array.", "files": [], "json": [] } ![Image](https://github.com/user-attachments/assets/db9bc076-2df0-4173-88c9-31a1ac0152ad) Aside to this, for its problem isolation, I replaced the file ID with absurd one such as "hogehoge", but the output text did not change while I expected it would change to "the file does not exist" or something else though.... ### ✔️ Error log input ------- { "spreadsheet_id": "1A0_2mt-odXYNWs6iYUpoxpW40MIw9fQChhKxEZvAMOI", "ranges": "Sheet1!A1:B10" } output ------- { "text": "Invalid JSON format for ranges. Please provide a valid JSON array.", "files": [], "json": [] }
yindo added the bug label 2026-02-16 10:18:45 -05:00
yindo closed this issue 2026-02-16 10:18:45 -05:00
Author
Owner

@Phonlin commented on GitHub (May 12, 2025):

I tried removing "Sheet1!" and used "A1:B10" directly, and it worked.

{
"spreadsheet_id": "1A0_2mt-odXYNWs6iYUpoxpW40MIw9fQChhKxEZvAMOI",
"ranges": "A1:B10"
}

@Phonlin commented on GitHub (May 12, 2025): I tried removing "Sheet1!" and used "A1:B10" directly, and it worked. { "spreadsheet_id": "1A0_2mt-odXYNWs6iYUpoxpW40MIw9fQChhKxEZvAMOI", "ranges": "A1:B10" }
Author
Owner

@cottonvalleyholdings commented on GitHub (May 12, 2025):

@Phonlin

Thanks for your update, but I do not find any improvements while I removed "Sheet1!" as you mentioned.

input
{
"spreadsheet_id": "1A0_2mt-odXYNWs6iYUpoxpW40MIw9fQChhKxEZvAMOI",
"ranges": "A1:B10"
}

output
{
"text": "Invalid JSON format for ranges. Please provide a valid JSON array.",
"files": [],
"json": []
}

@cottonvalleyholdings commented on GitHub (May 12, 2025): @Phonlin Thanks for your update, but I do not find any improvements while I removed "Sheet1!" as you mentioned. input { "spreadsheet_id": "1A0_2mt-odXYNWs6iYUpoxpW40MIw9fQChhKxEZvAMOI", "ranges": "A1:B10" } output { "text": "Invalid JSON format for ranges. Please provide a valid JSON array.", "files": [], "json": [] }
Author
Owner

@kurokobo commented on GitHub (May 12, 2025):

@Phonlin
Since omluc/google_sheets is not an "official" plugin, it's more appropriate to open issues in the dify-plugins repository rather than here.

Anyway I haven't used this plugin myself, but as the error message suggests, the ranges parameter probably needs to be an array. What happens if you add [] like this: "ranges": ["Sheet1!A1:B10"]

@dar0xt
F.Y.I.

@kurokobo commented on GitHub (May 12, 2025): @Phonlin Since omluc/google_sheets is not an "official" plugin, it's more appropriate to open issues in the [dify-plugins repository](https://github.com/langgenius/dify-plugins) rather than here. Anyway I haven't used this plugin myself, but as the error message suggests, the `ranges` parameter probably needs to be an array. What happens if you add `[]` like this: `"ranges": ["Sheet1!A1:B10"]` @dar0xt F.Y.I.
Author
Owner

@cottonvalleyholdings commented on GitHub (May 13, 2025):

@kurokobo

Thanks for your follow-up.

Help page for this plug-in refers for this repo as follows, but per your guide I will close this thread and move to another repo,

Support
For issues or feature requests, please open an issue in the Dify Official Plugins repository.

@cottonvalleyholdings commented on GitHub (May 13, 2025): @kurokobo Thanks for your follow-up. [Help page for this plug-in](https://marketplace.dify.ai/plugins/omluc/google_sheets) refers for this repo as follows, but per your guide I will close this thread and move to another repo, **Support** For issues or feature requests, please open an issue in the **Dify Official Plugins repository**.
Author
Owner

@kurokobo commented on GitHub (May 14, 2025):

@cottonvalleyholdings

Help page for this plug-in refers for this repo as follows,

I didn't know that, thanks for letting me know. I'm not sure if it will be fixed, but I'll let the developers know anyway.

@kurokobo commented on GitHub (May 14, 2025): @cottonvalleyholdings > Help page for this plug-in refers for this repo as follows, I didn't know that, thanks for letting me know. I'm not sure if it will be fixed, but I'll let the developers know anyway.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#273