Hey! I've launched my first campaign in Clay and get the following error attached. {"issues":[{"code":"invalid_type","expected":"array","received":"string","path":["request","campaign_ids"],"message":"Expected array, received string"}],"name":"ZodError"} I tested emails before launching and it worked well. Link to the campaign. Please advise on how to solve.
This error indicates that the campaign_ids field is receiving a string value when it expects an array format.
The issue is likely in your JSON formatting where campaign_ids should be formatted as an array with square brackets, like ["campaign_id_1", "campaign_id_2"] instead of just a string value.
To help troubleshoot this further, could you copy and paste the JSON configuration you're using for your campaign setup? This will allow me to identify the specific formatting issue and provide the correct syntax. [1]
Where can I find the JSON configuration I'm using for my campaign setup?
The JSON configuration is in the Body section of your HTTP API integration within your campaign setup. [1]
To find it:
Navigate to your campaign in Clay
Look for the HTTP API enrichment you're using
Open the configuration and check the Body section [2]
The Body contains your JSON data that's being sent with the API request. Please copy and paste that JSON from the Body section so I can identify the specific formatting issue with your campaign_ids field. [3]
Did that answer your question?
No It didn't I don't see any HTTP API enrichment I'm using in my campaign.
Thanks for letting me know. I’m routing you to our human team now so they can assist you further.
Clay Support is sharing a file with you.
Our support team has got your message and we'll get back to you soon!
If you’re dealing with a specific table, drop the URL below so we can help you quicker. Otherwise, someone from our team will be in touch soon!
Hi Mehdi - thanks so much for reaching out and for your patience here. Are you still facing this issue? I am not seeing the error you mention pop up when checking your campaign.
Understood - for the slower pacing is actually intentional! Clay Sequencer spaces out sends (about 1 every ~20 minutes, 9am–5pm, up to 30/day per inbox) to protect your deliverability.
This pacing mimics human sending, which helps your emails land in inboxes instead of spam. If you’d like to send faster, you can connect more inboxes or adjust the schedule settings, though we recommend keeping the defaults for best results.
The 30 sends per inbox per day is a deliverability safeguard we've set to protect your sender reputation and ensure emails land in inboxes, not spam. While we're working on allowing users to adjust this limit, we generally don't recommend increasing it as going higher can negatively impact deliverability.
The best way to scale your sending is to connect additional inboxes to your campaign. For example, if you need to send 300 emails per day, connecting 10 inboxes would get you there while maintaining healthy sending patterns. This approach keeps your domains in good standing with email providers!"
Hello Mehdi! Thanks for reaching out! Jumping in for Aditi and Luca. I can see they answered all your questions. Is there anything else that we can help you with?
