"Duplicate Assistant Name : ..."
# support
s
I created an account on vapi 2 days back and created my first Assistant and a workflow. It worked in the afternoon when I tested it once but now it gives the error:
Copy code
ts
{
    "data": null,
    "error": {
        "message": "Duplicate Assistant Name \"Hannah AI\".",
        "error": "Bad Request",
        "statusCode": 400
    }
}
I am certain I don't have any duplicates. Moreover I tried renaming and using the vapi.start() many times. But it still gives me this error and I don't know what to do. Can someone please guide me!
v
This error often occurs when there's a hidden assistant with the same name. Try this approach: 1. Contact Vapi Support with your organization ID and the specific error message 2. In the meantime, try using a completely different assistant name with a unique identifier:
Copy code
ts
// Instead of "Hannah AI"
const assistantName = "Hannah_AI_" + Date.now().toString();
This creates a timestamp-based unique name that should bypass the duplication error. Sources: - [Troubleshooting "Duplicate Assistant Name" error in Vapi](https://discord.com/channels/1211482211119796234/1328923059905630238) - [Possible causes of "Duplicate Assistant Name" error in Vapi](https://discord.com/channels/1211482211119796234/1331890584826155018) - [Contacting VAPI Support](https://discord.com/channels/1211482211119796234/1326262542858850445)
k
To help track down this issue, could you share one or two: - The call ID - When exactly this happened (the timestamp) - What response you expected to get - What response you actually got instead This would really help us figure out what went wrong!