Open MingqianZhang opened 2 months ago
👀 @MingqianZhang
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. Please make sure you have given us as much context as possible.\ 非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。
@MingqianZhang Hello there! I'm here to help you with any bugs, questions, or contributions. Let me know how I can assist you. Dosu
The error message "The provided image url is not accessible" indicates a 'BadRequest' error from the Azure service. This can occur due to several reasons, such as network issues, incorrect cross-origin settings, or unsupported file types.
Here are some steps to troubleshoot and resolve this issue:
Network and Cross-Origin Settings: Ensure that your network is stable and that the cross-origin settings for your file storage service are correctly configured [1].
File Type Support: Verify that the image file type is supported by the Azure provider. In the current deployment mode, only image files are supported for upload [1].
Error Handling: The code handles 'BadRequest' errors by logging the error details and creating an error response. Ensure that the Azure-specific configurations such as apiVersion
, apikey
, and endpoint
are correctly set [2].
Logging: Check the server logs for more detailed error messages. The code logs errors on the server side using console.error
when an exception occurs during the image upload process [3].
If the issue persists, you may need to review the specific configurations for Azure in your codebase to ensure they are correctly defined and implemented.
To continue talking to Dosu, mention @dosu.
same issue and same error here
📦 Environment
Docker
📌 Version
newest
💻 Operating System
macOS
🌐 Browser
Chrome
🐛 Bug Description
when i tried to ask question with image, it returns an error as below. but when switching to claude model, it worked with image. { "error": { "code": "BadRequest", "type": null, "param": null, "message": "The provided image url is not accessible." }, "endpoint": "https://xxxx, "provider": "azure" }
📷 Recurrence Steps
No response
🚦 Expected Behavior
No response
📝 Additional Information
No response