# Rasa x api - a few issues

**URL:** <https://forum.rasa.com/t/rasa-x-api-a-few-issues/42530>\
**Category:** \[Deprecated\] Rasa X Community Edition\
**Created:** [April 17, 2021, 3:33am UTC](https://forum.rasa.com/t/rasa-x-api-a-few-issues/42530 "2021-04-17T03:33:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Scott](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/scott/32/14458_2.png) [@Scott](https://forum.rasa.com/u/Scott)\
**Post date:** [April 17, 2021, 3:33am UTC](https://forum.rasa.com/t/rasa-x-api-a-few-issues/42530/1 "2021-04-17T03:33:57Z")

</div>

Hi Guys,

Thanks for putting Rasa x out there, I am still getting my head around it.

First of all, I just noticed an Error in the docs

To replace the domain.yml file you need to call **projects/default/domains/1**

[Rasa X Documentation](https://rasa.com/docs/rasa-x/pages/http-api#operation/updateDomains), the url does not specify the projects/default url.

Second

I am trying to replace the nlu.yml file

[https://rasa.com/docs/rasa-x/pages/http-api#operation/replaceBulkData](https://rasa.com/docs/rasa-x/pages/http-api#operation/replaceBulkData)

1. How do I set the ID for new records?
2. Is there a simple way, just to replace the nlu.yml file through the api?
3. Where are the logs saved? I am not using docker, just a standard python install

Also, I noticed I have managed to get the intent to save, but it saved into

rasa.db, so I am bit confused, what is the relationship between nlu.yml file and rasa.db. What controls the nlu definitions, if the API is updating the DB, and I am updating the nlu.yml file?

---

<div class="post-metadata">

**Author:** ![Scott](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/scott/32/14458_2.png) [@Scott](https://forum.rasa.com/u/Scott)\
**Post date:** [April 17, 2021, 4:45am UTC](https://forum.rasa.com/t/rasa-x-api-a-few-issues/42530/2 "2021-04-17T04:45:20Z")

</div>

OK, I have been doing more investing.

[https://rasa.com/docs/rasa-x/pages/http-api#operation/addData](https://rasa.com/docs/rasa-x/pages/http-api#operation/addData)

This is writing to nlu.md file for some reason, even that I have nlu.yml file that exist.

When I run rasa train it gives me a warning. I am not sure if it is using both md and yml files in the training of just selecting one.

lol … am I just using the wrong API to update nlu.yml details?
