The "invalid credentials" error you're seeing when using lookalikes is likely related to your Clay API key. To fix this:
1. Check your API key under Settings > Connections > search for Clay
2. Make sure it's properly connected
3. After correcting the API key configuration, the write to table operation should work correctly
If you still see errors after this, try clearing your browser cache and refreshing the page.