CX as Code: Error creating phones

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

Error: Exhausted retries. Last error: [{0 Failed to create phone webrtc_testuser10: API Error: 400 - A web rtc phone has already been assigned to this user. (8cb59a3d-fde6-4e2e-b762-87922dfeaede) []}]

│ with genesyscloud_telephony_providers_edges_phone.webrtc_testuser10,
│ on genesyscloud_base.tf.json line 28, in resource.genesyscloud_telephony_providers_edges_phone.webrtc_testuser10:
│ 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?

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.

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