dify icon indicating copy to clipboard operation
dify copied to clipboard

The tool uses self.create_image_message to return images, but it keeps reporting unknown error: missing meta data

Open jlokys opened this issue 10 months ago • 1 comments

Self Checks

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

Dify version

1.1.3

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

Image

✔️ Expected Behavior

No response

❌ Actual Behavior

No response

jlokys avatar Mar 28 '25 06:03 jlokys

I found a similar unsolved discussion regarding an "unknown error: missing meta data" when calling Flux Tools in Agent Mode. You might find it helpful to check out this discussion for any updates or potential solutions: Help: In Agent Mode, To call Flux Tools, Response Error:unknown error: missing meta data [1].

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

dosubot[bot] avatar Mar 28 '25 06:03 dosubot[bot]

发现了一样的问题

obstinacy26 avatar Jun 09 '25 04:06 obstinacy26

@crazywoola, the user has indicated that they are still encountering a similar issue related to the "unknown error: missing meta data" when calling Flux Tools in Agent Mode. Could you please assist them with this?

dosubot[bot] avatar Jun 09 '25 04:06 dosubot[bot]

I'm having the same problem and hopefully it will be resolved soon.

tanaous avatar Jun 10 '25 10:06 tanaous

I have the same problem, I fix this with deleting yield self.create_image_message(image_url) statement on my own function tool, use create_text_message, create_json_message, create_blob_message

wwfyde avatar Jul 24 '25 08:07 wwfyde

Hi, @jlokys. I'm Dosu (https://dosu.dev), and I'm helping the Dify team manage their backlog and am marking this issue as stale.

Issue Summary:

  • You reported an "unknown error: missing meta data" when using self.create_image_message in version 1.1.3 (self-hosted via Docker).
  • Other users like tanaous and obstinacy26 have confirmed experiencing the same issue.
  • A suggested workaround by wwfyde is to avoid create_image_message and use create_text_message, create_json_message, or create_blob_message instead.
  • The issue remains unresolved, with some related discussion and maintainer attention requested.

Next Steps:

  • Please let me know if this issue is still relevant with the latest version of Dify by commenting here to keep the discussion open.
  • If I don’t hear back within 15 days, this issue will be automatically closed.

Thanks for your understanding and contribution!

dosubot[bot] avatar Aug 31 '25 16:08 dosubot[bot]