Why does create dataset return errorCode when createProject is true ? | XM Community
Solved

Why does create dataset return errorCode when createProject is true ?

  • 23 April 2021
  • 3 replies
  • 6 views

The documentation here: https://api.qualtrics.com/guides/reference/datasets.json/paths/~1datasets/post states that setting createProject to true will create a visible project in the UI for this Dataset. When I do so, I get the following response:
{
    "meta": {
        "requestId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
        "httpStatus": "404 - Not Found",
        "error": {
            "errorCode": "ASC_2",
            "errorMessage": "Dataset not found"
        }
    }
}
I get the expected response when createProject is false.

icon

Best answer by faris 28 April 2021, 18:18

View original

3 replies

Userlevel 2
Badge +3

Though I'm not familiar with the "datasets" API, my guess is datasets are used by the CX/Dashboards product.
Do you have access to Dashboard Projects? Or just Survey Projects?

Userlevel 2
Badge +3

Hey asatar - I figured out the problem (for me at least). My account did not have the permission enabled called "Use Imported Data Projects".
After I enabled it, I was able to successfully run the call with createProject = true

If you're not an admin, talk to your admin and see if that's something you can get enabled.

faris , this was the issue, thanks!

Leave a Reply