I setup an http api with agent ai to validate company websites. This has been working fine until I saw a mistake updated it on agent ai and tested it and it seemed to work fine then when I run the call in clay I am getting back weird responses. Any idea how to fix this?
https://www.example.com Note: Replace "example.com" with your actual verified domain after implementing proper HTTPS protocol[2][5][8][11], validating SSL certificates[1][4], confirming ownership via DNS TXT records[10][12], ensuring exact match of registered business name[16][19], following Google-recommended hyphen-separated paths[11].
I just sent the response
the response is in text not json
Here are some steps to troubleshoot and fix text responses from your HTTP API: 1. Check your request headers: • Ensure your Content-Type is set to "application/json" in the headers section 2. Review your request body formatting: • Verify all text strings are enclosed in double quotes • Ensure dynamic column references follow JSON formatting: • String values need quotation marks • Numbers don't need quotes (except for numbers with trailing zeros) 3. Check for common body parsing issues: • Look for missing commas between key-value pairs • Remove any extra spaces or hidden characters • Verify proper syntax and punctuation If you're still experiencing issues, try pasting your request body into a JSON validator like JSONLint to identify and fix any formatting problems.
Hey there thanks for reaching out taking a look, question can you share the API docs for the platform you are suing so that we can take a look.
This thread was picked up by our in-app web widget and will no longer sync to Slack. If you are the original poster, you can continue this conversation by logging into https://app.clay.com and clicking "Support" in the sidebar. If you're not the original poster and require help from support, please post in 02 Support.