2017-04-04 29 views
0

以前的工作開始嘗試創建一個用戶API錯誤

SoftLayerAPIError: SoftLayerAPIError(SoftLayer_Exception_NotReady): Master user must be IBMid authenticated to perform this action

堆棧跟蹤表明在新的用戶密碼被宣告線的時候返回下面的錯誤的腳本。這是否意味着該腳本不能宣佈一個密碼(該API表示反正會被忽略,但它仍然需要它),或者這是否意味着腳本必須與IBM標識進行驗證,以便能夠做到用戶創造呢?

回答

0

我無法重現錯誤,我能夠創建用戶無論帳戶的用戶名/ apikey有IBMid與否(對於Python客戶端)。

我建議您提交請求,並提供您所使用的代碼,以獲得與這種行爲進一步幫助。你

也可以嘗試這裏描述switching-to-ibmid的步驟,在該頁面介紹瞭如何可以將帳戶切換到IBMid。在那之後,我建議如果你正在使用的用戶/ apikey仍處於訂單,如果需要更新Python客戶端連接相同的審查。

About the passwords:

  • Neither password nor vpnPassword parameters are required.
  • When a new user is created, an email will be sent to the new user's email address with a link to a url that will allow the new user to create or change their password for the SoftLayer customer portal.
  • If the password parameter is provided and is not null, the user will still receive a portal password email. It can be used within 24 hours to change their password.
  • If the password parameter is not provided or it is null, the user must set their portal password using the link sent in email within 24 hours.
  • The password parameter is ignored for VPN_ONLY users or for IBMid authenticated users.
  • If the vpnPassword is provided, then the user's vpnPassword will be set to the provided password. When creating a vpn only user, the vpnPassword MUST be supplied.

您還可以查看以下頁面。

https://www.ibm.com/blogs/bluemix/2016/10/switching-softlayer-authentication-to-ibmid/ https://console.ng.bluemix.net/docs/troubleshoot/ts_accessing.html#accessing

問候,