# AttributeError : object has no attribute 'core\_endpoint'

**URL:** https://forum.rasa.com/t/attributeerror-object-has-no-attribute-core-endpoint/1091
**Category:** Rasa Open Source
**Created:** [September 13, 2018, 2:37pm UTC](https://forum.rasa.com/t/attributeerror-object-has-no-attribute-core-endpoint/1091 "2018-09-13T14:37:58Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![NikhilBansal21](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nikhilbansal21/32/418_2.png) [@NikhilBansal21](https://forum.rasa.com/u/NikhilBansal21)
#### Post date: [September 13, 2018, 2:37pm UTC](https://forum.rasa.com/t/attributeerror-object-has-no-attribute-core-endpoint/1091/1 "2018-09-13T14:37:58Z")

</div>

Hi,

I am getting error on using this in my custom action code :-

> def tracker\_json(self,sender\_id): # type: Optional[int]
> 
> ```
> #Retrieve a tracker's json representation from remote instance.
> 
> url = "/conversations/{}/tracker?token=rasabot".format(
> sender_id)
>    
>      
> result = self.core_endpoint.request(subpath=url,
> method="get")
> result.raise_for_status()
> return result.json()
> 
> ```

How to use rasacoreclient like defined in the master branch -

> [https://github.com/RasaHQ/rasa\_core/blob/master/rasa\_core/remote.py](https://github.com/RasaHQ/rasa_core/blob/master/rasa_core/remote.py)

---

<div class="post-metadata">

### Author: ![NikhilBansal21](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nikhilbansal21/32/418_2.png) [@NikhilBansal21](https://forum.rasa.com/u/NikhilBansal21)
#### Post date: [September 14, 2018, 11:37am UTC](https://forum.rasa.com/t/attributeerror-object-has-no-attribute-core-endpoint/1091/2 "2018-09-14T11:37:28Z")

</div>

@souvikg10?? do u have any idea regarding this?

---

<div class="post-metadata">

### Author: ![akelad](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/akelad/32/69_2.png) [@akelad](https://forum.rasa.com/u/akelad)
#### Post date: [September 14, 2018, 3:43pm UTC](https://forum.rasa.com/t/attributeerror-object-has-no-attribute-core-endpoint/1091/3 "2018-09-14T15:43:00Z")

</div>

what is your error? and what are you trying to achieve?

---

<div class="post-metadata">

### Author: ![NikhilBansal21](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nikhilbansal21/32/418_2.png) [@NikhilBansal21](https://forum.rasa.com/u/NikhilBansal21)
#### Post date: [September 15, 2018, 6:05am UTC](https://forum.rasa.com/t/attributeerror-object-has-no-attribute-core-endpoint/1091/4 "2018-09-15T06:05:40Z")

</div>

i guess i have mentioned error as the topic and here i am trying to extract current state of the conversation i.e the json response of a user using sender id

---

<div class="post-metadata">

### Author: ![akelad](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/akelad/32/69_2.png) [@akelad](https://forum.rasa.com/u/akelad)
#### Post date: [September 17, 2018, 11:11am UTC](https://forum.rasa.com/t/attributeerror-object-has-no-attribute-core-endpoint/1091/5 "2018-09-17T11:11:04Z")

</div>

yes, but i need the context for the error, so please post the full stacktrace

---

<div class="post-metadata">

### Author: ![NikhilBansal21](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nikhilbansal21/32/418_2.png) [@NikhilBansal21](https://forum.rasa.com/u/NikhilBansal21)
#### Post date: [September 17, 2018, 11:41am UTC](https://forum.rasa.com/t/attributeerror-object-has-no-attribute-core-endpoint/1091/6 "2018-09-17T11:41:48Z")

</div>

hi

How can I initialise remote(rasa\_core/remot.py) object in rasa\_core?I want to invoke tracker\_json method to get current state of conversation in json format. It seems remote object needs core\_endpoint which is of type EndpointConfig. I don’t have any clue how to initialise remote object and get this tracker\_json invoked.

> [https://github.com/RasaHQ/rasa\_core/blob/master/rasa\_core/remote.py](https://github.com/RasaHQ/rasa_core/blob/master/rasa_core/remote.py)

here is the ss of the error

![image](https://dub1.discourse-cdn.com/flex013/images/transparent.png)
