# Not found error

**URL:** <https://community.tradovate.com/t/not-found-error/9382>\
**Category:** API Developers\
**Created:** [May 5, 2024, 11:24pm UTC](https://community.tradovate.com/t/not-found-error/9382 "2024-05-05T23:24:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![El\_hadry\_Hamza](https://avatars.discourse-cdn.com/v4/letter/e/bcef8e/32.png) [@El\_hadry\_Hamza](https://community.tradovate.com/u/El_hadry_Hamza)\
**Post date:** [May 5, 2024, 11:24pm UTC](https://community.tradovate.com/t/not-found-error/9382/1 "2024-05-05T23:24:25Z")

</div>

Hello, I’m trying to get some historical data but get a “not found error” 404 while using the websocket:

```auto
body = {
        "symbol": "ESM4",
        "chartDescription": {
            "underlyingType": "Tick",
            "elementSize": 1,
            "elementSizeUnit": "UnderlyingUnits"
        },
        "timeRange": {
            "asMuchAsElements": 200
        }
    }

endpoint = 'md/getChart'
_request_id = 1

ws.send(f"{endpoint}\n{_request_id}\n\n{body}")

```

error message : {‘s’: 404, ‘i’: 1, ‘d’: ‘“Not found: md/getChart”’}

Could you please help figure out how to get historical data? and also I where I can find all the field mapping to get in the body for different endpoints ? checking the documentation I don’t see much information on this part.

---

<div class="post-metadata">

**Author:** ![Bruce\_Sabs](https://avatars.discourse-cdn.com/v4/letter/b/a3d4f5/32.png) [@Bruce\_Sabs](https://community.tradovate.com/u/Bruce_Sabs)\
**Post date:** [July 1, 2024, 4:02am UTC](https://community.tradovate.com/t/not-found-error/9382/3 "2024-07-01T04:02:59Z")

</div>

Hi I am unable to subscribe using md/subscribeQoute via “wss://md.tradovateapi.com/v1/websocket”. Am getting logged in with the correct accessToken then out straight away… anyone able to assist…?
