如何解决vercel cosmoDB 问题
使用 cosmoDB 在 vercel 上得到这个错误:
{
"errorType":"Runtime.UnhandledPromiseRejection","errorMessage":"MongoError: Cannot create unique index when collection contains documents","reason":{
"errorType":"MongoError","errorMessage":"Cannot create unique index when collection contains documents","code":67,"ok":0,"codeName":"CannotCreateIndex","name":"MongoError","stack":[
"MongoError: Cannot create unique index when collection contains documents"
{
"errorType":"Runtime.UnhandledPromiseRejection","reason":{
"errorType":"MongoError","stack":["MongoError: Cannot create unique index when collection contains documents"
登录 vercel 站点时,用户已存在。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。