# Api to generate Token returns me error

**URL:** https://community.mappedin.com/t/api-to-generate-token-returns-me-error/473
**Category:** Other Mappedin Tech
**Created:** [November 6, 2025, 5:44pm UTC](https://community.mappedin.com/t/api-to-generate-token-returns-me-error/473 "2025-11-06T17:44:18Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Rajat\_Jindal](https://yyz2.discourse-cdn.com/flex004/user_avatar/community.mappedin.com/rajat_jindal/32/319_2.png) [@Rajat\_Jindal](https://community.mappedin.com/u/Rajat_Jindal)
#### Post date: [November 6, 2025, 5:44pm UTC](https://community.mappedin.com/t/api-to-generate-token-returns-me-error/473/1 "2025-11-06T17:44:19Z")

</div>

It would be great if someone could help me in fetching locations from CMS mappedin via Rest API.

Like i tried to generate token with below details

Step 1: [https://auth.mappedin.com/oauth/token](https://auth.mappedin.com/oauth/token)  
Step 2: Content-Type: application/json  
Step 3:  
{  
“client\_id”: “keyxxxxxxxxxxxxxxx”,  
“client\_secret”: “secretxxxxxxxxxxxx”,  
“grant\_type”: “client\_credentials”  
}

Error Msg i receive  
{“error\_msg”:“404 Route Not Found”}

---

<div class="post-metadata">

### Author: ![msohm](https://yyz2.discourse-cdn.com/flex004/user_avatar/community.mappedin.com/msohm/32/6_2.png) [@msohm](https://community.mappedin.com/u/msohm)
#### Post date: [November 7, 2025, 3:33pm UTC](https://community.mappedin.com/t/api-to-generate-token-returns-me-error/473/2 "2025-11-07T15:33:09Z")

</div>

The REST API URL you are using doesn’t exist.

Can you confirm if your map was created using Mappedin Maker `https://app.mappedin.com/editor/` or Mappedin CMS `https://cms.mappedin.com/en/dashboard`?

---

<div class="post-metadata">

### Author: ![Rajat\_Jindal](https://yyz2.discourse-cdn.com/flex004/user_avatar/community.mappedin.com/rajat_jindal/32/319_2.png) [@Rajat\_Jindal](https://community.mappedin.com/u/Rajat_Jindal)
#### Post date: [November 9, 2025, 5:53am UTC](https://community.mappedin.com/t/api-to-generate-token-returns-me-error/473/3 "2025-11-09T05:53:21Z")

</div>

it was under [Mappedin CMS](https://cms.mappedin.com/en/dashboard)

also i was tring to fetch the all location via SDK but was not able to do that

---

<div class="post-metadata">

### Author: ![msohm](https://yyz2.discourse-cdn.com/flex004/user_avatar/community.mappedin.com/msohm/32/6_2.png) [@msohm](https://community.mappedin.com/u/msohm)
#### Post date: [November 10, 2025, 6:18pm UTC](https://community.mappedin.com/t/api-to-generate-token-returns-me-error/473/4 "2025-11-10T18:18:40Z")

</div>

There isn’t a REST API to download just locations, but it is possible to download a MVFv3 file (Mappedin Venue Format v3) that contains the location information. You can read about this here: [MVF Locations | Mappedin](https://developer.mappedin.com/docs/mvf/v3/mvf-v3-specification/mvf-locations)

If you wish to do so, please contact Mappedin Support to request an appropriate API key and secret to do so using this form: [Mappedin | Contact us](https://www.mappedin.com/contact-us/)

You can get the locations from Mappedin JS as well. Read our [Enterprise Data Guide](https://developer.mappedin.com/web-sdk/enterprise-data) for instructions on how to do that.
