i'm writing an AI prompt referencing my Claude API key to generate text. In the Preview function the output looks great, but when I run it i am getting "error' for the output. What could i be doing wrong?
Troubleshooting Claude API Key Output Errors in AI Prompt Generation | Clay
There are a few potential reasons for this issue: 1. API Key Configuration: Make sure you've properly added and configured your Claude API key in Model > Account > Add Account.
2. Common Body Parse Errors:
โข Check that your API key is surrounded by double quotes
โข Verify proper punctuation and syntax (commas, colons, brackets)
โข Remove any hidden characters that might have been copied over
โข Confirm you're using the correct API keyIt's recommended to first test your prompt with a small sample (about 10 rows) to identify and fix any potential errors before running the full enrichment.
Sources:Use AI - Clay UniversityGuide: Ways to Save Clay Credits - Clay UniversityHTTP API - Clay University
Looks like you're still looking for help. We're escalating this over to our support team and someone should be in touch soon. In the meantime, feel free to include any other information that may be helpful in solving your issue!