Legacy Dev Forum Posts

 View Only

Sign Up

CX as Code: Error creating phones

  • 1.  CX as Code: Error creating phones

    Posted 06-05-2025 19:18

    Tommy_Braes | 2021-12-14 12:41:41 UTC | #1

    Im trying to add WebRTC phones, but I'm getting the following error:

    Error: Exhausted retries. Last error: [{0 Failed to create phone webrtctestuser10: API Error: 400 - A web rtc phone has already been assigned to this user. (8cb59a3d-fde6-4e2e-b762-87922dfeaede) []}] │ │ with genesyscloudtelephonyprovidersedgesphone.webrtctestuser10, │ on genesyscloudbase.tf.json line 28, in resource.genesyscloudtelephonyprovidersedgesphone.webrtctestuser10: │ 28: }

    But I don't have any phones in the systeml created. The API call GET api/v2/telephony/providers/edges/phones comes back empty. So how can there be a phone assigned to this user?


    Tommy_Braes | 2021-12-14 14:09:57 UTC | #2

    I have done it via a workaround.

    I used CLI to export the users, converted the output so I could use that in an import .csv I performed a bulk upload via the GUI.


    Ebenezer_Osei | 2021-12-17 18:05:31 UTC | #3

    Hi,

    I am glad you were able to figure it out. I am closing this topic. Please free to open another topic if you have any other questions or concerns.

    Best


    This post was migrated from the old Developer Forum.

    ref: 12946