IBM Watson文本语音转换API不断抛出错误:403禁止 [英] IBM Watson Text-to-speech API keeps throwing Error: 403 Forbidden

查看:132
本文介绍了IBM Watson文本语音转换API不断抛出错误:403禁止的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用IBM Watson Text-to-Speech API已有很长时间了。从今天早上开始,一直持续到昨晚的服务凭证一直抛出 { code:403, error: Forbidden}

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.

我使用了lite计划,并且在伦敦地区尝试了curl请求,但该请求仍然无法正常工作或提供了更多日志。我尝试使用一对新创建的凭据,但仍然会抛出相同的错误。有任何想法吗?
这是curl请求示例,尽管该错误在我的原始python应用程序中也仍然存在:

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"


推荐答案

希望将其添加为注释,但是我需要添加图片。 ..

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

IBM Cloud正在关闭所有尚未迁移到资源组的服务。 Watson服务是受影响的第一批服务之一。

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.

如果您看到此图标

服务实例,那么您尚未迁移服务实例,需要迁移。

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.

这篇关于IBM Watson文本语音转换API不断抛出错误:403禁止的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆