Clay Icon

Troubleshooting HTTP Errors in Batch Queries for Serper.dev

·
·

Can you please check why this http is giving error when you try batch query for serper.dev?

  • Avatar of Channeled
    Channeled
    APP
    ·
    ·

    💤 You've caught us outside of our support hours (9am-9pm EST), but don't worry - we'll be back in touch within 24 hours (often sooner!). If you haven't already, please include the URL of your table in the thread below so that we can help you as quickly as possible!

  • Avatar of Muhammad S.
    Muhammad S.
    ·
    ·
  • Avatar of Bo (.
    Bo (.
    ·
    ·

    Hi there! 👋 It looks like the error you encountered is due to a missing query parameter when making a batch query to the http://serper.dev endpoint. The API returned a 400 error, indicating that the request was incomplete. Specifically, it mentioned: {"message":"Missing query parameter","statusCode":400}. To fix this, ensure that your query includes all required parameters. Double-check the API documentation to confirm the exact parameter name and format needed. If you need further help or want me to walk you through the setup, just let me know! 😊

  • Avatar of Muhammad S.
    Muhammad S.
    ·
    ·

    Thank you. Bo (. I did check the when I pass single query it works but when I do batch query it does not work.

  • Avatar of Bo (.
    Bo (.
    ·
    ·

    Hi Muhammad! 👋 It seems like the error is due to the way Clay is interacting with the API when you try to batch queries. Although it looks like the API might support batch requests, it doesn’t seem to work this way within Clay’s setup. To troubleshoot further, I recommend checking if the API documentation specifically outlines how to handle batch queries. If they have any specific parameters or structures required for batch requests, that might help in adjusting the request format in Clay. If you have the API docs available, feel free to share them, and I’d be happy to guide you further! 😊

  • Avatar of Muhammad S.
    Muhammad S.
    ·
    ·

    https://serper.dev/playground Bo (. its in their play ground. no where else unfortunately.

  • Avatar of Muhammad S.
    Muhammad S.
    ·
    ·
  • Avatar of Muhammad S.
    Muhammad S.
    ·
    ·
  • Avatar of Bo (.
    Bo (.
    ·
    ·

    Yeah I saw, so I would recommend to instead do individual requests here since that's the only way it works. Their support might have more infos on this ! Might be worth asking :)

  • Avatar of Muhammad S.
    Muhammad S.
    ·
    ·

    ok sweet, thank you sir

  • Avatar of Channeled
    Channeled
    APP
    ·
    ·

    Hi Muhammad S.! This thread was recently closed by our Support team. If you have a moment, please share your feedback: