"Migration failed due to error : MongoError: not authorized for query on" is faced when try to upgrade database

Solution Verified - Updated -

Issue

  • Migration failed due to error : MongoError: not authorized for query on is faced when try to upgrade database
  • Unable to upgrade database
  • Unable to upgrade specific database with data
Verifying migrated collections.
Verification completed.
Migration failed due to error : MongoError: not authorized for query on domain-appid-envId.system.namespaces

Environment

  • Red Hat Mobile Application Platform ( RHMAP ) - 3.18.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.