but when I'm trying to recreate the same field (on different account - staging) with the same parameters I get the error:
Response: 400 {"status":"error","message":"Property 'referred_by' has no options but options are required!","correlationId":"1e9168bd-5df3-43e4-a082-3838c038c81d","propertiesErrorCode":"OPTIONS_REQUIRED","requestId":"dfbed1fe-c3f6-42ea-a3cf-9b222313cd41"}
Is it possible that there's inconsistency in the UI code and API code?
It seems that in the API request the paramter to set field enumeration options are not getting set. Can you you please share your script of creating the new properties ?