Base Url: https://dashscope.aliyuncs.com/compatible-mode/v1
Model: qwen-turbo
The issue is that Katalon StudioAssist’s “OpenAI-compatible provider” option makes API calls in a specific way that may conflict with DashScope’s endpoint. The most common culprits are:
Trailing slash on the Base URL — Katalon may append /chat/completions to your base URL, which breaks if there’s already a trailing slash or path mismatch.
max_completion_tokens vs max_tokens — Newer OpenAI SDK formats use max_completion_tokens, but DashScope still expects max_tokens.
Streaming vs non-streaming — Katalon StudioAssist may send requests expecting streaming responses, which DashScope handles differently.
Region endpoint mismatch —
possible solution
1)In your screenshot, the Base URL is:
https://dashscope.aliyuncs.com/compatible-mode/v1
Make sure there is no trailing slash. Katalon appends the path automatically. This alone fixes the issue for many users.
Also — if you are outside mainland China, switch to the international endpoint:
https://dashscope-intl.aliyuncs.com/compatible-mode/v1
2}
Your screenshot shows max_completion_tokens: 120000 — this is extremely high. DashScope’s qwen-turbo has a much lower output token limit.
try reducing it to 4096.
3)Verify the API Key Header Format.
DashScope expects the API key as a Bearer token in the Authorization header.
qwen-turbo alternatives, go for plus or max@pixel10m28 Please let me know if my suggestions worked for you or not?
I made the revisions based on your suggestions, saved the changes, and restarted. However, StudioAssist still failed on Alibaba Cloud DashScope.
Can you post the screenshot of the recent error, I want to look into where it is getting stuck.
You’re experiencing a configuration issue where StudioAssist fails to connect to Alibaba Cloud DashScope’s OpenAI-compatible API endpoint, even though the same API works correctly in Postman. This is a known issue documented in the Katalon community forum.
Your Configuration:
https://dashscope.aliyuncs.com/compatible-mode/v1qwen-turboAuthorizationThe root cause is URL path formatting incompatibility between how Katalon StudioAssist constructs API calls and how DashScope’s endpoint expects them.
According to the Katalon community forum discussion on this exact bug, Katalon StudioAssist’s “OpenAI-compatible provider” option automatically appends /chat/completions to your base URL. This creates a conflict:
https://dashscope.aliyuncs.com/compatible-mode/v1https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completionshttps://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions (correct) OR issues with trailing slashesRemove the trailing /v1 from your base URL. Configure it as:
https://dashscope.aliyuncs.com/compatible-mode
This allows Katalon to properly append /v1/chat/completions to form the correct endpoint.
Open Katalon Studio → Preferences → AI configurations
Select “OpenAI-Compatible Provider”
Configure the following:
https://dashscope.aliyuncs.com/compatible-mode (without /v1)Authorizationqwen-turbo (or your preferred Qwen model)16000 (default)Click Apply and test the connection
According to Alibaba Cloud’s official documentation, DashScope provides full OpenAI-compatible interface support for Qwen models. The qwen-turbo model is fully compatible with OpenAI’s chat completion API format, so the issue is purely configuration-related.
In Postman, you likely explicitly specify the full endpoint path (/chat/completions), whereas Katalon automatically appends this path. This is why the same API works in Postman but fails in StudioAssist.
Before applying the fix, confirm your Postman request uses:
https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completionsAuthorization: Bearer YOUR_API_KEYIf the issue persists after correcting the base URL:
qwen-turbo is available in your DashScope accountMax completion token if you receive token limit errors