I cannot access my Atlas database from Postman

So I have a database set up via Atlas as follows (I know it’s empty but I’m trying to fill it):

The Postman API works with GET requests until the Cluster directory:

But adding /models/ causes a 404 error:

Ultimately, I want to be able to write a command like this but I’m getting an error:

I expected the format for the request to be …{{CLUSTER-NAME}}/models/api/{{Route}} given that is the file hierarchy to my knowledge when I look in both Atlas AND Compass. Am I’m missing something in this REST request that I need to add? If there’s any more information you need please ask!

NOTE:
ProjectID: 61f1630ad9a04878694d4daa
CLUSTER-NAME: GreenhouseCluster0

Hi there @John_Kathe,

Just some questions:

  • Is this a plain Atlas Data Api what you’re using?
  • Do you think the problem is related to Postman?

Otherwise I’d remove Postman from the title, and just include Error in post request using Atlas Data Api so it gets proper attention.

I’ve never used it, but if I have to do random guess for today, it’d be that you’re in the wrong database, included in base_url.

Santimir,
Thank you for your reply! The {{base_url}} is: https://cloud.mongodb.com, which is what was advised in the MongoDB documentation. The documentation for reading and writing with the Data API are related to Realms, while my REST API functionality is all external.

Hi @John_Kathe,

Could you clarify what you are attempting to perform here? I.e. Are you attempting to read or write data from the cluster?

Additionally, could you verify what documentation you are referring to here:

Thank you for your reply! The {{base_url}} is: https://cloud.mongodb.com, which is what was advised in the MongoDB documentation.

Based off your screenshot, it appears you are trying to perform read / writes to your cluster in which I recommend you take a look at the Data API documentation which has the following base url:

https://data.mongodb-api.com/app/<Data API App ID>/endpoint/data/beta

Regards,
Jason