Automattic / Automattic/wp-telegram-bot
Errors when trying to follow a new Jetpack site
- Dominant language
- JavaScript
- Stars
- 17
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
I'm receiving the following error message when trying to follow a new site on Telegram:
```
/follow jeremy.hu
```
```
E11000 duplicate key error collection: heroku_zpjz44tv.blogChats index: chatId_1_blogPath_1 dup key: { chatId: -778504744, blogPath: "jeremy.hu" }
```
The site seems properly connected to WordPress.com, so I'm not sure what this error refers to.
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the `/follow jeremy.hu` command and trace the code path that writes to the `blogChats` collection, focusing on the `chatId_1_blogPath_1` duplicate-key error. Done means following an already connected site no longer produces this error and the expected follow behavior is preserved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, mongodb
- Domain
- backend, databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100