Create contact in mailing list failing in Microsoft Flow - Issue with parameter: directoryId | XM Community
Skip to main content

Hey Team,

First time poster here.

I have been getting an error while trying to run a MS Flow using HTTP - Post to upload sample data to survey.

I can get it to work within postman so the credential side of things seems to be working. I’m the admin / end user of the platform as well so there should be no access limitations from my understanding as I have another flow running that saves the survey response data as a CSV.

 

The query I’m running is:


The body of the error is below:
 

{

  "meta": {

    "httpStatus": "400 - Bad Request",

    "error": {

      "errorMessage": "Issue with parameter: directoryId, please fix and try again. Reason: Invalid TA directoryId.",

      "errorCode": "TA_IPL"

    },

    "requestId": "74a2b5ae-****-****-****-***d83515b11"

  }

}

 

I’m wondering if potentially I’m missing anything else in the headers or query to run this call?

I have also tried the ID’s outside of the variables, screenshot is showing them in the variables for privacy reason.

Shouldn't there be /v3/ before directories?

https://api.qualtrics.com/af95194dd116e-list-contacts-in-mailing-list


@ahmedA Yeah there is the /V3/ in the  path, probably cant see it cause of the blur.

I have actually resolved this myself as per below:

MS Flows dont send data correctly to Qualtrics via the query. It was as sinple as just puting all the query strings into the body of the work or directly into the URI if it was a ID of some sort.


Leave a Reply