简体   繁体   English

Qualtrics API v2.5中的“用户名或密码错误”错误消息

[英]“Incorrect username or password” error message in Qualtrics API v2.5

Due to some features that I wish were available in Qualtrics v3 ( see previous post ), I checked out their most recent previous version ( v2.5 ) to try to find a GET request which closely approximates the data from individual surveys that I'm trying to obtain on each request. 由于我希望Qualtrics v3中提供某些功能( 请参阅上一篇文章 ),因此我检查了他们的最新前一版本( v2.5 ),以尝试找到一个GET请求,该请求与我所进行的各个调查的数据非常接近尝试获取每个请求。 However, when I do their built-in API test on my own credentials: 但是,当我使用自己的凭据进行内置API测试时:

在此处输入图片说明

I get the following error: 我收到以下错误:

<XML>
<Meta>
<Status>Error</Status>
<RequestType>getSurvey</RequestType>
<ErrorCode>500</ErrorCode>
<QualtricsErrorCode>ESRV09</QualtricsErrorCode>
<ErrorMessage>Incorrect Username or Password</ErrorMessage>
<Debug/>
</Meta>
<Result/>

I've double-checked to ensure that I'm entering the proper credentials, well-defined survey ID, and API token, but am not sure why I am getting this error. 我已仔细检查以确保输入正确的凭据,定义明确的调查ID和API令牌,但不确定为什么会收到此错误。

As an aside, if there is another survey platform (such as SurveyMonkey) which has an API which allows me to extract information from individual surveyIDs without having to export everything manually first, I would greatly appreciate any knowledge of such services. 顺便说一句,如果有另一个具有API的调查平台(例如SurveyMonkey),该API允许我从单个SurveyID中提取信息,而不必先手动导出所有内容,那么我将不胜感激对此类服务的任何了解。

Based on the image above you are missing the URL field, which should be api.php. 根据上图,您缺少URL字段,该字段应为api.php。 Also, I think you want response data, so the request would be getLegacyResponseData. 另外,我认为您需要响应数据,因此请求将是getLegacyResponseData。

At a minimum, the actual generated url should be something like this: 实际生成的URL至少应如下所示:

https://survey.qualtrics.com/WRAPI/ControlPanel/api.php?API_SELECT=ControlPanel&Version=2.5&Request=getLegacyResponseData&User=[user_name_here]&Token=[token_here]&Format=JSON&SurveyID=[survey_id_here] https://survey.qualtrics.com/WRAPI/ControlPanel/api.php?API_SELECT=ControlPanel&Version=2.5&Request=getLegacyResponseData&User=[user_name_here]&Token=[token_here]&Format=JSON&SurveyID=[survey_id_here]

You should not set JSONPCallback to false. 您不应将JSONPCallback设置为false。 Set it to true and to setup your Ajax call properly, refer to JQuery JSONP documentation 将其设置为true并正确设置您的Ajax调用,请参考JQuery JSONP文档

I called the Qualtrics customer support line when I was getting the same error. 遇到相同错误时,我致电Qualtrics客户支持热线。 It turns out my organization changed the way that users get access to Qualtrics from individual accounts to using single sign on. 事实证明,我的组织将用户从单个帐户访问Qualtrics的方式更改为使用单点登录。 When they did that my username changed! 当他们这样做时,我的用户名更改了! It used to me my organizational email address, but after the change it was different, although the API token was the same. 它曾经是我的组织电子邮件地址,但更改之后就不同了,尽管API令牌相同。 In order to find your username: 为了找到您的用户名:

  1. log into the Qualtrics control panel 登录到Qualtrics控制面板
  2. click on the user silhouette in the upper righthand corner and select "Account Settings..." 单击右上角的用户剪影,然后选择“帐户设置...”
  3. On the main User Settings page, scroll down to the section titled "Recent Logins" 在“用户设置”主页面上,向下滚动到标题为“最近的登录”的部分
  4. Your username is listed in the leftmost column of that table 您的用户名列在该表的最左列

I was surprised that my username was NOT the email address that I used to get access to my account. 我很惊讶我的用户名不是我用来访问帐户的电子邮件地址。 Hope this helps someone! 希望这对某人有帮助!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 使用Graph API v2.5获取Facebook图像的网址 - Getting the url of a Facebook Image using Graph API v2.5 使用Javascript图形API v2.5将照片作为多部分/表单数据发布到Facebook - Publishing photo as multipart/form-data to Facebook using Javascript graph API v2.5 输入错误的用户名/密码后页面刷新,但不显示错误消息 - Page getting refreshed on entering incorrect username/password without displaying error message Chartjs v2.5 - 仅按比例显示最小值和最大值,按比例显示绝对定位 - Chartjs v2.5 - only show min and max on scale, absolute positioning on scale 如何使用数据库检查用户名和密码以显示错误消息? - How to check username and password with database to display error message? 为什么消息“用户名密码错误”不显示在页面上 - why is the message “wrong username password” not staying on page 当我再次尝试插入用户名密码时,错误消息不会消失 - The error message does not go away when I try again to insert username password NotAuthorizedException 用户名或密码不正确 amazon-cognito-identity-js - NotAuthorizedException Incorrect username or password amazon-cognito-identity-js Google Maps Javascript API v3错误消息“密钥已禁用” - Google Maps Javascript API v3 Error Message “Key is Disabled” 具有已保存的用户名和密码的Google Picker API - Google Picker API with already saved username and password
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM