DomoR Error in is.url(url) : length(url) == 1 is not TRUE

Attempting to use the DomoR plugin to create a dataset in Domo. 

Here is the R script



a <- c(2,3,4)
b <- c(1,2,3)
df <- data.frame(a, b)
DomoR::replace_ds(df, name = "tanbit_r_test", description = "DomoR test")

When I run this I get this error, which has me blocked:

Error in is.url(url) : length(url) == 1 is not TRUE

Thanks in advance for your attention.





Best Answer

  • jehat
    Answer ✓

    The documentation for the DomoR "Replace" function is available here: It looks like you need to add "DomoR::" to the beginning and format as follows:



    Replace an existing data source and update the schema if necessary.


    DomoR::replace_ds('ab84f24a-73d4-0188-d8aa-8fe78103a721', df)


  • Hi,
    Anyone help out with this request?


  • Austin



    Hey Bruce,

    Thank you for reaching out to Domo Support in regard to our DomoR plug-in, I'm sorry to hear that you are receiving an error. Your current script is showing the 'replace' function, rather than 'create'. Could you please confirm if the script is set up for what you need? If so, then I can get this over to my Connector team.


    If this is considered a high priority, then please call our number and reference the following ticket number:


    Ticket: 05665916




    Have you been looking for a 1-stop shop for all your support cases? This message and all updates to this case can be tracked in the Customer Portal at This portal makes it easy for you to track, update, and create all your support cases!


    - Domo Technical Support

    **Say “Thanks" by clicking the thumbs up in the post that helped you.
    **Please mark the post that solves your problem by clicking on "Accept as Solution"
  • Apologies for the create/replace confusion.  The error happens on replace_ds.


    Here is a revised example.  Create works but replace_ds gives the error.


    a <- c(2,3,4)
    b <- c(1,2,3)
    df <- data.frame(a, b)
    DomoR::create(df, name="tanbit_r_test1", description = "DomoR test")

    a <- c(20,30,40)
    b <- c(10,20,30)
    replace_ds(df, name = "tanbit_r_test1", description = "DomoR test")