Assistant is not being updated properly after publ...
# support
m
I update assistant with new script, but after page reload it does not save the script.
v
Hi there! I understand how frustrating it can be when your assistant script updates aren't being saved properly after a page reload. I can't determine the exact cause of your specific issue without more details, but I can definitely help with some troubleshooting steps based on similar issues other users have experienced. According to the information I found, this is actually a known issue in Vapi where changes to assistant scripts sometimes don't persist after a page reload. Several users have reported that even after receiving a "success" message, their updates are lost when the page is reloaded [(source)](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1334661059298066514). Here are some troubleshooting steps you can try: 1. Try a hard reset of your browser (Ctrl+Shift+R) which has helped some users [(source)](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1334944779850485790) 2. Clear your browser cache and cookies as sometimes cached data can interfere with saving updates [(source)](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1333836884685754480) 3. Check your API key - having an incorrect API key has caused saving issues for some users [(source)](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1336722356856426586) 4. Verify your API request format if you're updating via API: - Make sure field names are correct - Ensure no null values in your request payload - Confirm you're using the correct endpoint and HTTP method [(source)](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1328923059905630238) 5. Try using a webhook to respond - one user found that using a webhook resulted in the correct script being used [(source)](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1334661059298066514)
It's also worth noting that Vapi doesn't have version history, so it's a good practice to document your settings before updating [(source)](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1334944779850485790). Is there any additional information you can share about how you're updating the script or any error messages you're seeing? This might help narrow down the specific issue you're facing. Sources: - [Discord thread about script saving issues](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1334661059298066514) - [Discord thread about hard reset solution](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1334944779850485790) - [Discord thread about browser cache issues](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1333836884685754480) - [Discord thread about API key issues](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1336722356856426586) - [Discord thread about API request format](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1328923059905630238)
k
checking if this is resolved/solved for you?