Activity
Mon
Wed
Fri
Sun
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
Jan
What is this?
Less
More

Memberships

AI Automation Society

Public โ€ข 4.9k โ€ข Free

AI Automation Society Plus

Private โ€ข 140 โ€ข $59/m

1 contribution to AI Automation Society
Brave Search API Integration
Hello All! (and thank you Nate for all your valuable information) I am attempting to connect Brave Search through an HTTP Request node with a Header Auth. I've labeled the Header Auth as "X-Subscription-Token" and made the value my API key (as per the Brave documentation), and set my query parameter in the HTTP Request node as "q". However, I am getting a response as "There was an error: "Request failed with status code 422"" Google and ChatGPT seem helpless to help me resolve this. Any suggestions?
2
3
New comment 19h ago
Brave Search API Integration
1 like โ€ข 19h
@Ramon Tomzer Thank you. I went back in and tried to refine it and found a solution.
1 like โ€ข 19h
UPDATE: I found a solution with these settings: Method: Get URL: https://api.search.brave.com/res/v1/web/search Authentication: None Send Query Parameters: On Query Parameters: - Name: q - Value Provided: By Model (and is required) Send Headers: On - Name: X-Subscription-Token - Value Provided: Using Field Below - Value: [API Key] - Name: Accept - Value Provided: Using Field Below - Value: application/json - Name: Accept-Encoding - Value Provided: Using Field Below - Value: gzip Once I had all that set, it worked like a charm. tl;dr: Don't use an authentication method, simply pass the API key through a Header
1-1 of 1
Bradford Carlton
1
1point to level up
@bradford-carlton-9540
Internationally renowned business consultant, AI enthusiast, and devotee of God

Active 11h ago
Joined Jan 7, 2025
powered by