mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-22 01:55:27 -04:00
Connection to models via Azure AI Studio fails with "Expecting value: line 1 column 1 (char 0)" #215
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @NattawatPin on GitHub (Apr 22, 2025).
Self Checks
Dify version
1.2.0
Cloud or Self Hosted
Cloud
Steps to reproduce
I am unable to connect your application to the GPT-4.1, o3, and 03-mini models through Azure AI Studio. Could you please look into this issue and provide assistance?
✔️ Expected Behavior
The application should successfully connect to the GPT-4.1, o3, and 03-mini models via Azure AI Studio without any errors.
❌ Actual Behavior
The application is unable to connect to the GPT-4.1, o3, and 03-mini models via Azure AI Studio. The following error message appears: [Expecting value: line 1 column 1 (char 0)].
@dosubot[bot] commented on GitHub (Apr 22, 2025):
Hello @NattawatPin! I'm Dosu, a friendly bot here to help you with bugs, answer questions, and assist you in becoming a contributor. I'm here while you wait for a human maintainer. Let's tackle this issue together!
The "Expecting value: line 1 column 1 (char 0)" error typically indicates an issue with the response from the server, often due to an empty or malformed JSON response. Here are some steps you can take to troubleshoot this issue:
Check API Credentials: Ensure that the API credentials used for connecting to Azure AI Studio are correct and have the necessary permissions.
Verify Endpoint URLs: Double-check the endpoint URLs for the models (GPT-4.1, o3, and 03-mini) to ensure they are correct and accessible.
Network and Firewall Settings: Make sure that your network and firewall settings allow outbound connections to Azure AI Studio. This includes checking for any proxy settings that might interfere with the connection.
Inspect Logs: Review the application logs for any additional error messages or warnings that might provide more context about the failure.
Model Deployment: Confirm that the models are properly deployed and available in Azure AI Studio. Ensure that the model versions are compatible with your application.
Test with Other Tools: Use tools like Postman or curl to manually test the API endpoints and verify if the issue is specific to Dify or a broader connectivity problem.
If these steps do not resolve the issue, consider providing more detailed logs or error messages to help diagnose the problem further.
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
@crazywoola commented on GitHub (Apr 22, 2025):
Please provide the plugin version as well.
@NattawatPin commented on GitHub (Apr 22, 2025):
Azure AI Studio v0.0.3
@dosubot[bot] commented on GitHub (Aug 19, 2025):
Hi, @NattawatPin. I'm Dosu, and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale.
Issue Summary
Next Steps
Thank you for your understanding and contribution!