2016-09-27 38 views
1

結果預期的JSON有望獲得CF ENV <應用程序名稱>不返回沃森開發雲

System-Provided: 
 
{ 
 
"VCAP_SERVICES": { 
 
    "speech_to_text": [{ 
 
     "credentials": { 
 
     "url": "<url>", 
 
     "password": "<password>", 
 
     "username": "<username>" 
 
     }, 
 
    "label": "speech-to-text", 
 
    "name": "speech-to-text-service-standard", 
 
    "plan": "standard" 
 
}] 
 
} 
 
}

但確切的結果我得到

Actual Result Image

而且該應用沒有正常工作

+0

什麼'cf' CLI您使用的版本? 'cf -v'會告訴你。 –

回答

2

根據實際結果的輸出,沒有服務綁定到您的應用程序。

你必須運行以下命令添加到您服務商綁定到您的應用程序:

cf bind-service speech-to-text-converter speech-to-text-service-standard

+0

我重新啓動了這個過程,它工作了。謝謝 – LahiruD

相關問題