Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

media parameter is missing Error on Main Branch #1183

Open
tcm390 opened this issue Dec 17, 2024 · 1 comment
Open

media parameter is missing Error on Main Branch #1183

tcm390 opened this issue Dec 17, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@tcm390
Copy link
Collaborator

tcm390 commented Dec 17, 2024

Description
When attempting to call the image-generation on Twitter, the following error occurs on the main branch:

Error: {"errors":[{"code":38,"message":"media parameter is missing."}]}
    at uploadMedia (node_modules/agent-twitter-client/dist/node/esm/index.mjs:2211:13)
    at async createCreateTweetRequest (node_modules/agent-twitter-client/dist/node/esm/index.mjs:1954:22)

However, it works as expected on the tcm-twitter-image branch.

@tcm390 tcm390 added the bug Something isn't working label Dec 17, 2024
@tcm390 tcm390 self-assigned this Dec 17, 2024
@tcm390
Copy link
Collaborator Author

tcm390 commented Dec 17, 2024

Just noticed it works only if disable Near plugin. I'm not sure why the ref-sdk in the Near plugin is causing an error with Twitter image posting—maybe there's a conflict. I think we should make the plugin configurable so people can choose which plugins they want to use. Right now, there are too many plugins, which also makes it really hard to debug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant