MongoDb storage error in beta release
Hello everyone!
I have a doubt when using Mondogb storage in beta version.
When creating the storage using MongoDBStore:
it throws an error when I initialize Mastra
error says
3 Replies
📝 Created GitHub issue: https://github.com/mastra-ai/mastra/issues/10667
🔍 If you're experiencing an error, please provide a minimal reproducible example whenever possible to help us resolve it quickly.
🙏 Thank you for helping us improve Mastra!
Are you on all beta versions ?
If you’re using the beta mongodb version the core version should also be in 1.0.0 the type error I’m seeing seems to come from a mismatch since we change message type in v1
Just try and reproduced this myself, it definitely is a version mismatch issue. Please make sure youre on all latest beta versions of any mastra package!
thanks mate!
confirmed it was solved