Domo API sample

Hi, I'm new to API and new to Domo. I've been reading on this https://developer.domo.com/docs/dataset-api-reference/dataset#Retrieve%20a%20DataSet. and the docs have this sample API endpoint https://api.domo.com/v1/datasets/08a061e2-12a2-4646-b4bc-20beddb403e3. but it shows

{"status":401,"statusReason":"Internal Server Error","path":"/v1/datasets/08a061e2-12a2-4646-b4bc-20beddb403e3","toe":"24VFL24TI7-0HN1I-7SCEQ"}

I don't think that's right though... anyway, I wanted to test my Javascript API fetch thing before I go to a live dataset. is there any dummy/sample dataset that I can use for API fetch?


Thanks

Tagged:

Best Answers

  • GrantSmith
    GrantSmith Coach
    Answer ✓

    Hi @Kris_delosangeles

    That dataset ID doesn't exist in your instance so it's throwing an error. You can create a simple testing dataset using the WebForm connector and putting in some sample data if you want to test it before using real production data. You can get the new dataset ID from the URL when you're viewing the dataset details.

    **Was this post helpful? Click Agree or Like below**
    **Did this solve your problem? Accept it as a solution!**
  • GrantSmith
    GrantSmith Coach
    edited November 2021 Answer ✓

    This is the webforms connector I was referring to:

    https://domohelp.domo.com/hc/en-us/articles/360043436813-Webforms-Connector. Just search for WebForm in the connectors dialog box.

    **Was this post helpful? Click Agree or Like below**
    **Did this solve your problem? Accept it as a solution!**

Answers