Hey, got it—thanks! Feel free to send it here next time; it’s secure, and no one else will have access.
Out of curiosity, which specific enrichments are you trying to pull? You can refer to the documentation here: Whois XML API.
As for the issue this is because you're receiving a Buffer instead of readable content, it’s due to the API returning data in XML rather than JSON. This can happen if the outputFormat parameter isn’t set or if the default is XML.
Solution:
• Verify the response format—if it’s XML, either parse it as XML or specify "JSON" as the outputFormat and in the Body in your request.
• Test the request in Postman to ensure everything’s formatted correctly.
• Once it’s working as expected, you ca integrate it into Clay.
Let me know if you need any more help! 😊