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

使用KV时遇到的问题 #68

Closed
aozaki-kuro opened this issue Dec 21, 2020 · 1 comment
Closed

使用KV时遇到的问题 #68

aozaki-kuro opened this issue Dec 21, 2020 · 1 comment
Labels
question Common questions

Comments

@aozaki-kuro
Copy link

aozaki-kuro commented Dec 21, 2020

大佬您好,我严格按照您在 #16 中写的步骤,通过POSTMAN获取了refresh_tokenaccess_token

因为获取的refresh_token超出1KiB限制,于是按照您在 #58 中的步骤在Bucket中添加了refresh_token并将值黏贴进去。

随后在./src/auth/onedrive.js中添加了代码、将其他定义了REFRESH_TOKEN的地方删掉
(似乎也只有./src/config/default.js含有REFRESH_TOKEN?)

按照教程完成相关设置后进行wrangler preview,浏览器返回以下错误
Snipaste_2020-12-21_14-13-27

尝试了几次获取不同refresh_token均报同样的错误
也尝试过重新获取code、或删除API令牌重新生成,仍然报同样的错误。

实在不知道应该从哪儿开始解决,求指导……

@aozaki-kuro
Copy link
Author

aozaki-kuro commented Dec 21, 2020

重新把仓库pull下来后解决,可能与曾误输入错误REFRESH_TOKEN相关

发现:wrangler内输入该错误REFRESH_TOKEN后,在Workers后台删除该键值不能解决问题。将整个项目重新pull到本地才能解决。

closed

@spencerwooo spencerwooo added the question Common questions label Dec 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Common questions
Projects
None yet
Development

No branches or pull requests

2 participants