URGENT: Cant save any workflow with API Request
# support
v
To resolve the "credentialId must be a UUID" error, create a Custom Credential in your Vapi dashboard and use its credentialId in your API Request node. Example configuration:
Copy code
json
"server": {
  "url": "https://your-api-endpoint.com",
  "credentialId": "cred_abc123" // Replace with your actual credential UUID
}
Go to the Vapi dashboard, create a credential, and copy its ID into your workflow as shown above. For more details, see the [Vapi server authentication documentation](https://docs.vapi.ai/server-url/server-authentication). Source: - [Server authentication](https://docs.vapi.ai/server-url/server-authentication)
d
I dont have any Authorization and dont want any.
i dont see anywhere to put any credentials
But when i change everything, download it, manually delete this part, upload it again, then it works, but thats no solution.
Also i cant seem to update any Structured Outputs. Is your system running can i change and save anything?
c
Hi DAPOLO, It seems you're experiencing issues related to the
credentialId
requirement in Vapi's workflows. To ensure your workflows save successfully, any API Request node must have a valid UUID for the
credentialId
, even if you do not need authorization for your specific API calls. Here's what you can do: 1. **Create a Credential in Vapi Dashboard**: - Navigate to the Custom Credentials section. - Click Create Credential. - Select Bearer Token, enter a name for your credential, and save it. - Copy the generated
credentialId
. 2. **Assign the Credential UUID**: - Update your API Request node in the workflow to include the
credentialId
using the UUID you copied:
Copy code
json
     "server": {
       "url": "https://your-api-endpoint.com",
       "credentialId": "your-generated-uuid"
     }
3. **Save the Configuration**: - Ensure no empty credential fields are left to avoid errors. Removing unneeded credential properties might also be necessary, as a blank field can cause save failures. For more details, you can check the [Vapi server authentication documentation](https://docs.vapi.ai/server-url/server-authentication). If the problem persists, consider reaching out to Vapi support with your workflow ID for further assistance.