gpt4 book ai didi

ios - iOS 应用程序 swift 3 中的谷歌翻译 rest api 错误 403

转载 作者:行者123 更新时间:2023-11-28 08:10:27 29 4
gpt4 key购买 nike

有人可以帮我解决这个问题吗?

我正在使用 swift 3 开发一个应用程序,我正在尝试将 google translate api 集成到我的 iOS 应用程序中,但其余 api 响应以下错误:

["error": {
code = 403;
errors = (
{
domain = global;
message = "Requests from this ios client application <empty> are blocked.";
reason = forbidden;
}
);
message = "Requests from this ios client application <empty> are blocked.";
status = "PERMISSION_DENIED";
}]

最佳答案

你有没有关注: Implementing google translation api in swift 3 iOS

正如他提到的,您必须正确激活您的帐户并注册,因为它似乎不再是一个免费的 API 可以使用了。

关于ios - iOS 应用程序 swift 3 中的谷歌翻译 rest api 错误 403,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43921916/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com