IBM Watson Text-to-speech API keeps throwing Error: 403 Forbidden

南笙酒味 提交于 2020-06-01 04:43:29

问题


I've been using the IBM Watson Text-to-speech API for quite a while now. The service credentials that was working until last night has been throwing an {"code":403, "error": "Forbidden"} since this morning.

I use the lite plan and London region I tried curl requests and it still doesn't work or given any further logs. I tried with a newly created pair of credentials, it's still throwing the same error. Any ideas? Here's the curl request sample although the error persists in my original python app too:

curl -X GET -u "apikey:{apikey}" --output hello_world.wav "{url}/v1/synthesize?accept=audio%2Fwav&text=Hello%20world&voice=en-US_AllisonVoice"

回答1:


Wanted to add this as a comment, but I need to add pictures, so ...

IBM Cloud is switching off any services that have not been migrated to a resource group. The Watson services are one of the first batch affected.

If you see this icon

next to your service instance then then you haven't yet migrated your service instance, and need to do so.

If you see this icon then you have migrated and there is something else going awry.



来源:https://stackoverflow.com/questions/59856201/ibm-watson-text-to-speech-api-keeps-throwing-error-403-forbidden

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!