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

执行getTempCOS 函数的时候报错了,导致数据无法导入 #8

Open
ShangyiAlone opened this issue Jan 9, 2024 · 4 comments

Comments

@ShangyiAlone
Copy link

执行getTempCOS 函数的时候报错了,导致数据无法导入,报错返回如下:
{
"error": "Internal Server Error",
"requestId": "72b2c61a-d335-428e-88f6-fbff3f80df04"
}

1

@Zing22
Copy link
Collaborator

Zing22 commented Jan 9, 2024

报错的关键是“SecretId”不存在,检查一下环境变量是不是填错了,或者是腾讯云的账户登录错了

@ShangyiAlone
Copy link
Author

报错的关键是“SecretId”不存在,检查一下环境变量是不是填错了,或者是腾讯云的账户登录错了

我没有用到过腾讯云,环境变量刚才检查了一遍应该没问题的,我的小程序现在可以正常的上床图片,审核图片,添加猫咪之类的,很奇怪

@ShangyiAlone
Copy link
Author

我大概清楚问题出在哪了,这个函数需要访问腾讯云的一些内容,是个密钥是腾讯云那边的,我这里没有用腾讯云作为图床,所以报错找不到这个密钥

@Zing22
Copy link
Collaborator

Zing22 commented Jan 9, 2024

OK哈

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