Error importing Telnyx number
# support
v
For the API error, the message "credentialId must be a UUID" means that the value you're providing for "credentialId" isn't in the correct format. The API expects this field to be a valid UUID (a string like "123e4567-e89b-12d3-a456-426614174000"). Double-check that the "credentialId" you're using matches this format, as correcting it should resolve the 400 Bad Request error for the API. Regarding the dashboard error, the message indicates a general issue with updating the Telnyx number, but without more details or documentation, it's hard to pinpoint the exact cause. If you have access to more specific error logs or details, those might help narrow down the issue.
For the API error, the message "credentialId must be a UUID" means that the value you're providing for "credentialId" isn't in the correct format. The API expects this field to be a valid UUID (a string like "123e4567-e89b-12d3-a456-426614174000"). Double-check that the "credentialId" you're using matches this format, as correcting it should resolve the 400 Bad Request error for the API. Regarding the dashboard error, the message indicates a general issue with updating the Telnyx number, but without more details or documentation, it's hard to pinpoint the exact cause. If you have access to more specific error logs or details, those might help narrow down the issue.
It looks like the error you're seeing—"credentialId must be a UUID"—means that the value you're providing for "credentialId" in your API request isn't in the correct UUID format. The API expects this field to be a valid UUID (a string like "123e4567-e89b-12d3-a456-426614174000"). Double-check that the credentialId you're using matches this format. Once you update it to a valid UUID, the request should go through without that specific error. If you're seeing a similar error in the dashboard, make sure any credential or ID fields are filled out with the correct values as well.
It looks like the error you're seeing—"credentialId must be a UUID"—means that the value you're providing for "credentialId" in your API request isn't in the correct UUID format. The API expects this field to be a valid UUID (a string like "123e4567-e89b-12d3-a456-426614174000"). Double-check that the credentialId you're using matches this format. Once you update it to a valid UUID, the request should go through without that specific error. If you're seeing a similar error in the dashboard, make sure any credential or ID fields are filled out with the correct values as well.
u
Have you created the credentials first? @Lucía
k
Ensure your Telnyx account has the correct Outbound Voice Profile, API key permissions, and SIP trunk settings, then test the integration..
l
@20 I created sip credentials. Is that what you are refering to?
u
Yeah Check the voice profile settings properly then
k
Hey Lucia, checking if this is resolved/solved for you?
l
Hi! what do you mean with the voice profile setting @20
Still having problems to import telnyx numbers @Shubham Bajaj
u
Send me a message I could set it up for you
v
How do you get the credential ID? Is there a seperate API for that? Thanks
u
yeah there is a separate api for that
k
You can get the credential ID by sending a GET request to with your API token to retrieve all your credentials.
v
ok thanks got it working
k
You're welcome