Skip to content
This repository has been archived by the owner on Sep 1, 2024. It is now read-only.

ValidationError: 2 validation errors for Config #7

Closed
Nenot233 opened this issue Sep 1, 2022 · 3 comments
Closed

ValidationError: 2 validation errors for Config #7

Nenot233 opened this issue Sep 1, 2022 · 3 comments

Comments

@Nenot233
Copy link

Nenot233 commented Sep 1, 2022

raise validation_error
pydantic.error_wrappers.ValidationError: 2 validation errors for Config
tencent_cloud_secret_id
field required (type=value_error.missing)
tencent_cloud_secret_key
field required (type=value_error.missing)

SecretId: "id"
SecretKey: "key"

请问一下这个是格式问题还是腾讯apikey的问题?

@NumberSir
Copy link
Owner

OGR@9JB6O%4 6U2DZC044%L
腾讯云 API 密钥能在这个页面找到:https://console.cloud.tencent.com/cam/capi
两个都是字符串格式,看看你有没有填对

@Nenot233
Copy link
Author

Nenot233 commented Sep 1, 2022

image
均为复制上去的

@NumberSir
Copy link
Owner

你怎么填在这里,一般填在env.env文件里
如果填在这里的话用等号不用冒号

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

No branches or pull requests

2 participants