Clay received a 401 error from the API with Content: {"msg":"Unauthorized"}
A 401 "Unauthorized" error typically indicates an issue with your API key authentication. Here's how to resolve it: 1. Check your API key:
• Go to Settings > Your profile > API key to find your Clay API key
• Make sure you're using the correct API key format: Bearer YOUR_API_KEY
in the Authorization header
2. If you're certain the API key is correct but still experiencing issues:
• Verify that the API key is properly connected in your integration settings
• Check under Settings > Connections and look for the Clay connectionIf these steps don't resolve the issue, you may need to regenerate your API key from the Settings > Your profile > API key section.
Sources:
Write to table integration overview | Documentation | Clay University
Guide: Integrate with Catch-all Verifier using HTTP API
Was that helpful?
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.