Skip to content

Weixin (ilink): file upload fails — CDN returns empty params #369

@zzysgdhrrr-coder

Description

@zzysgdhrrr-coder

Environment

  • cc-connect: v1.2.2-beta.4
  • Platform: weixin (personal WeChat / ilink)
  • OS: macOS Darwin 25.3.0
  • Agent: Claude Code 2.1.87

Description

When using cc-connect send --file <path> on the weixin (ilink) platform, file upload fails. Both .txt and .docx files fail with the same error — the CDN upload endpoint returns empty parameters.

The agent correctly creates the file locally and attempts to send it via cc-connect send --file, but the ilink CDN upload step fails silently (returns empty/null params), so the file is never delivered to the user's WeChat.

Steps to Reproduce

  1. Configure cc-connect with type = "weixin" and attachment_send = "on"
  2. Ask the agent to create a file and send it via cc-connect send --file /path/to/file.txt
  3. The command fails; file is not delivered to WeChat

Expected Behavior

The file should be uploaded to the ilink CDN and delivered to the user's WeChat chat.

Actual Behavior

CDN upload returns empty parameters. The file cannot be sent. Both .txt and .docx formats fail.

Notes

  • ImageSender / FileSender are documented as implemented for the weixin platform
  • attachment_send = "on" is correctly configured
  • This appears to be an ilink gateway limitation rather than a cc-connect code issue

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