Hi @Balkrishna_Agawral,
The Atlas Free Tier (M0) currently allows up to 100 databases and 500 collections in total, and up to 512MB of storage. For more information, please see Atlas M0 (Free Tier), M2, and M5 Limitations.
The result of your write operation should return an error code/message which will provide more context on the issue.
If your application isn’t able to connect at all, a good starting point would be confirming the credentials in your connection string as well as your Atlas whitelist entries. For troubleshooting steps, please see Connect via Driver in the Atlas documentation.
Since Glitch requests may originate from a large range of IP addresses, it is more difficult to configure an effective whitelist. See What IPs must I whitelist so my Glitch project can access my MongoDB database? on the Glitch forums for some suggestions.
Regards,
Stennie