# Rest API's flow

**URL:** <https://forum.flowable.org/t/rest-apis-flow/7593>\
**Category:** Flowable Engine\
**Created:** [March 11, 2021, 12:05pm UTC](https://forum.flowable.org/t/rest-apis-flow/7593 "2021-03-11T12:05:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![atana](https://avatars.discourse-cdn.com/v4/letter/a/71e660/32.png) [@atana](https://forum.flowable.org/u/atana)\
**Post date:** [March 11, 2021, 12:05pm UTC](https://forum.flowable.org/t/rest-apis-flow/7593/1 "2021-03-11T12:05:36Z")

</div>

I have built a bpmn20.xml file which is imported properly through the UI. But when I try to deploy the same using the Rest API, it throws me an error saying [cvc-datatype-valid.1.2.1: ‘29ABBED5-4C66-4E46-9373-6D08195711CB’ is not a valid value for ‘NCName’]. I tried calling the deployment endpoint with the bpmn20.xml file downloaded from flowable which also fails with the same error. Can someone please guide me how to solve this issue.

---

<div class="post-metadata">

**Author:** ![yvo](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/yvo/32/2231_2.png) [@yvo](https://forum.flowable.org/u/yvo)\
**Post date:** [March 11, 2021, 1:03pm UTC](https://forum.flowable.org/t/rest-apis-flow/7593/2 "2021-03-11T13:03:23Z")

</div>

Hi,

how exactly are you deploying the BPMN xml?  
Can you show the request (and the response)?

Yvo

---

<div class="post-metadata">

**Author:** ![atana](https://avatars.discourse-cdn.com/v4/letter/a/71e660/32.png) [@atana](https://forum.flowable.org/u/atana)\
**Post date:** [March 11, 2021, 2:04pm UTC](https://forum.flowable.org/t/rest-apis-flow/7593/3 "2021-03-11T14:04:46Z")

</div>

hello Yvo,  
I am trying to call it through postman and you can see the below picture for reference. A simple bpmn20.xml file with only one node was successfully deployed. But the same method does not work for other files.

 ![flowable](https://canada1.discourse-cdn.com/flex035/uploads/flowable/original/2X/2/26baf7da9bda7c91e00668bd848f2be9ad4de097.png)

---

<div class="post-metadata">

**Author:** ![yvo](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/yvo/32/2231_2.png) [@yvo](https://forum.flowable.org/u/yvo)\
**Post date:** [March 11, 2021, 2:47pm UTC](https://forum.flowable.org/t/rest-apis-flow/7593/4 "2021-03-11T14:47:08Z")

</div>

Can you share the file?

Yvo
