-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in qualtrics_response_codes()
for fetch_distributions() & 0 observations for all_mailinglists()
#271
Comments
@zoe-zhang99 Have you updated your version of the qualtRics R package lately? This looks like an older version of the error message to me. You can try the development version via: ## install.packages("remotes")
remotes::install_github("ropensci/qualtRics") |
Hi Julia @juliasilge , For distribution, I am still receiving the same error message after updating the package. In the meantime, I wonder what the mailinglist returns as I am getting 0 now. Should I use the default email question in Qualtrics to get a return of email list or I can get it from my own email question? As for now, I do have 4 columns empty for the survey results ("RecipientLastName", "RecipientFirstName", "RecipientEmail", "ExternalReference"), does the mailinglist come from the column I list here? Thanks! |
@zoe-zhang99 Can you use reprex to run the following code, replacing my ## use _your_ surveyID here:
fetch_url <- qualtRics::generate_url(query = "fetchdistributions",
surveyID = "SV_3gbwq8aJgqPwQDP")
res <- qualtRics:::qualtrics_api_request("GET", url = fetch_url)
res$meta
#> $httpStatus
#> [1] "200 - OK"
#>
#> $requestId
#> [1] "dc48c980-b7c3-4ea1-aae5-b1e2c563fc79" Created on 2022-07-15 by the reprex package (v2.0.1)
|
@juliasilge Thanks! I didn't have access to distribution before, the problem is solved. Thank you! |
I wonder if something has changed in the API and we need to update the call for the Notice that these docs include a qualtRics::generate_url(query = "allmailinglists")
#> https://conjoint.co1.qualtrics.com/API/v3/mailinglists/ Created on 2022-07-15 by the reprex package (v2.0.1) @dsen6644 I know you worked on this and have used the |
Something definitely seems to have changed with mailinglists.
Now returns:
Qualtrics very recently migrated my brand to the XM Directory, which seemed to coincide with |
I don't have any real data or experience with the mailing lists. I would so appreciate a PR from someone who uses this in their real world work! I can review and make sure it's all good to go if someone who has a real use case can set it up. 👍 |
I'm a Git newbie and I don't write the greatest code, but I'd like to try to be helpful here. A couple years ago I wrote a script to pull Qualtrics data and output a file to be imported into Tableau. Here's the section of code that pulls mailinglist data as part of a loop:
Hopefully this helps describe a real use case. Pulling the embedded data is crucial to my process. Now before someone points this out, I could get the embedded data from |
@pschatz25 I am glad that |
Yes, Qualtrics has been positioning themselves to drop the concept of mailing lists and use more of a directory-centric approach to distributing survey emails. Although I never received any notifications from them that it actually went into effect. I'll begin reviewing the new features and reach out to support to see if this affects all accounts. I'm surprised this didn't impact the |
Huge thanks to @dsen6644 for the PR addressing this problem! If you would be willing to try it out, you can install that branch with the fix via: remotes::install_github("ropensci/qualtRics#275") I don't have any real data or experience with the mailing lists so we would appreciate some folks trying it out! |
Dear developers,
I ran into these two issues while running the package, and my API worked well to fetch the survey.
I got 0 observations for all_mailinglists(). No error message.
For fetch-distributions():
Thanks for your help & look forward to getting your reply.
The text was updated successfully, but these errors were encountered: