-
Notifications
You must be signed in to change notification settings - Fork 356
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
MongoDB and clerk web hook error #15
Comments
Could you provide some more context and those are sample data in mongoDB. |
Hello, try this: |
This worked for me, thanks! |
@iyashjayesh this didn't work for me, did you do anything else to resolve this? |
The issue is coming from MongoDB as the application cannot access the database based on the IP address captured during the setup process of your DB. To fix this issue;
|
It won`t work. As there is no Problem with the connection to mongoDB |
Have you tried it or you're just saying? I'm telling you what worked for me. |
Hello. If the problem is not with the connection to the database, you can try to delete the entire collection from the Mongo DB page and create it again from the code execution. |
I tried. |
its also gives me the same error in clerk dashboad and ive tried the mongodb access all ip method and the vercel method to Deployment Protection and set Vercel Authentication: Disabled. . what should i do to fix this error ? |
i found the solution |
Hi @mmnsrti , I need your help please. I am stuck on this issue. I have tried everything. Thank you in advance |
Tried, but not working!! |
i am getting user not found |
i have the same issue someone assist, shows failed |
u can clone my repo and compare youor code to mine . if you couldnt make it right email me |
give more information |
Hi, I encountered the same, but after debugging, I found the response from the clerk over Google Oauth is changed, there is no "username" and "photo" attribute. at the codebase please look at the user model, it requires these 2 attributes to create a user. my hotfix is to remove the "require" attribute, so my user.model.ts look like below
|
Hi everyone, I spent a lot of time on the project, but everything works well now! Feel free to check my repo or reach out to me for help. :) |
getting user not found |
can you help? |
This didn't work and honestly it didn't make sense that it would, just had to try and it didn't. |
I Tried Everything but still i got the same problem. I Changed my ip address and set Vercel Authentication: Disabled. Change the userId Thing but still not working. Does someone has any other solution |
I found when I connect to webhook, clerk shows some error and mongoDB shows the data not come frome my data model. I don't know where it comes from.
I'd appreciated if you can give me some feedback.
The text was updated successfully, but these errors were encountered: