I created a table for user personal data and a table for user phone numbers, and I receive this data through the API via API Connector. I have the following problem: when I make the API call, the user data comes through correctly, but in the phone table, the phone numbers come through line by line, while the country code ( DDI ) and area code ( DDD ) come through on a single line.
Can you send us the example of the response you are getting from the API connector? Also a screenshot of your workflow would be helpful. Specifically, how you are saving the data to the database object.
@grlimacomercial Hi! This usually means Bubble is treating the phone number as a list, while DDI and DDD are coming in as single values. So it creates one row per phone number, but only one value for the country and area code.
Check your API Connector response and make sure the phone number field isn’t marked as a list. If the API really returns multiple phone numbers, you’ll need to loop through them and create one phone record per number, setting the same DDI and DDD for each.