Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用百度引擎时出现的ERROR #4

Open
KetenBieber opened this issue Aug 18, 2024 · 3 comments
Open

使用百度引擎时出现的ERROR #4

KetenBieber opened this issue Aug 18, 2024 · 3 comments

Comments

@KetenBieber
Copy link

我在新手指引下去百度页面迅速注册了APP ID ,并且获取了APP ID 和 密钥,已经在配置文件中填入,但为什么还是出现ERROR

@KetenBieber
Copy link
Author

PixPin_2024-08-19_02-23-53

@Samge0
Copy link
Owner

Samge0 commented Sep 3, 2024

点击查看百度翻译错误码说明>>

根据百度那边的文档显示,错误码52003表示未授权用户,需要检查您的 appid是否正确,或者翻译服务是否正常开通, 可查看百度翻译平台常见问题>>,或咨询百度客服开通相关服务权限。

image

@Samge0
Copy link
Owner

Samge0 commented Sep 3, 2024

排查路线:
1、点击[开通百度翻译api服务](https://api.fanyi.baidu.com/api/trans/product/apichoose) 确保该页面中的通用翻译API服务是已开通状态:
image

2、点击查看百度开发者信息, 确保正确复制了这里的APP ID密钥
image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants