Type of Connector
Independent Publisher Connector
Name of Connector
Brave Search (Independent Publisher)
Describe the bug
Summary
The "UI Language" parameter in the Search web action shows a dropdown that does not match Brave Web Search API's Market Codes. For example, "ja-JP" is not available and users must pick "Custom value" and type "ja-JP" manually.
Steps to Reproduce
- In Power Automate or Logic Apps, add the Brave Search – Search web action.
- Open the UI Language dropdown.
- Try to select "ja-JP".
Actual Behavior
- The dropdown lists values that look like language codes (e.g., en, ja, zh-hans) and "ja-JP" is missing.
- Users have to select "Custom value" and type "ja-JP" to get the expected behavior.
Expected Behavior
- The UI Language dropdown should list Brave API Market Codes (locale), e.g., en-US, ja-JP, it-IT, ko-KR, etc., OR the doc should clearly instruct users to enter a valid Market Code.
Impact
- Misleads users into thinking ui_lang accepts language codes.
- Causes inconsistent requests and localization.
Proposed Fix
- Replace the dropdown items with Brave's Market Codes, or remove incorrect presets and document that ui_lang requires a Market Code.
- Clearly distinguish parameter types in docs:
- ui_lang → market/locale code (e.g., en-US, ja-JP)
- search_lang → language code (e.g., en, ja)
- country → country code (e.g., US, JP)
References
Is this a security bug?
No, this is not a security bug
What is the severity of this bug?
Severity 3 - Minor issue
To Reproduce
- Create a Power Automate flow (or Logic Apps standard/consumption workflow).
- Add the Brave Search – Search web action.
- Open the UI Language dropdown.
- Try to select
ja-JP (or other locale/market codes such as en-US, it-IT).
- Observe that
ja-JP is not in the list and you must choose Custom value and type ja-JP manually.
- Run the action with
ui_lang=jp vs ui_lang=ja-JP and compare results.
Expected behavior
-
The UI Language dropdown should list Brave API Market Codes (locale) such as en-US, ja-JP, it-IT, ko-KR, etc., or the doc should clearly instruct users to enter a valid Market Code.
-
Values offered in the dropdown must match (or be auto-validated against) Brave’s Market Codes list.
-
Parameters should be clearly distinguished:
ui_lang → market/locale code (e.g., ja-JP)
search_lang → language code (e.g., ja)
country → country code (e.g., JP)
Environment summary
- Surface: Power Automate (cloud) / Azure Portal – Logic Apps
- Connector: Brave Search (Independent Publisher) → Search web action
- Region/tenant: e.g., Asia / Commercial tenant (replace if different)
- Browser: e.g., Chrome 129 (replace with yours)
- No CLI used; repro is fully in the UI.
- Workaround: selecting Custom value and entering
ja-JP works.
Additional context
Type of Connector
Independent Publisher Connector
Name of Connector
Brave Search (Independent Publisher)
Describe the bug
Summary
The "UI Language" parameter in the Search web action shows a dropdown that does not match Brave Web Search API's Market Codes. For example, "ja-JP" is not available and users must pick "Custom value" and type "ja-JP" manually.
Steps to Reproduce
Actual Behavior
Expected Behavior
Impact
Proposed Fix
References
Is this a security bug?
No, this is not a security bug
What is the severity of this bug?
Severity 3 - Minor issue
To Reproduce
ja-JP(or other locale/market codes such asen-US,it-IT).ja-JPis not in the list and you must choose Custom value and typeja-JPmanually.ui_lang=jpvsui_lang=ja-JPand compare results.Expected behavior
The UI Language dropdown should list Brave API Market Codes (locale) such as
en-US,ja-JP,it-IT,ko-KR, etc., or the doc should clearly instruct users to enter a valid Market Code.Values offered in the dropdown must match (or be auto-validated against) Brave’s Market Codes list.
Parameters should be clearly distinguished:
ui_lang→ market/locale code (e.g.,ja-JP)search_lang→ language code (e.g.,ja)country→ country code (e.g.,JP)Environment summary
ja-JPworks.Additional context
en,ja,zh-hans) and omitsja-JP. This misleads users into believingui_langaccepts language codes.ui_lang:Codes → Market Codes: https://api-dashboard.search.brave.com/app/documentation/web-search/codes#market-codes
https://learn.microsoft.com/en-us/connectors/bravesearch/#search-web