# Error when trying to instantiate from a template

**URL:** <https://forum.opennebula.io/t/error-when-trying-to-instantiate-from-a-template/8570>\
**Category:** Installation & Configuration\
**Created:** [June 24, 2020, 10:42am UTC](https://forum.opennebula.io/t/error-when-trying-to-instantiate-from-a-template/8570 "2020-06-24T10:42:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rbonfini](https://avatars.discourse-cdn.com/v4/letter/r/5e9695/32.png) [@rbonfini](https://forum.opennebula.io/u/rbonfini)\
**Post date:** [June 24, 2020, 10:42am UTC](https://forum.opennebula.io/t/error-when-trying-to-instantiate-from-a-template/8570/1 "2020-06-24T10:42:38Z")

</div>

I try to instantiate a new vm from a template.  
I am logged in with the oneadmin account and i would like to instantiate a vm for a client.  
The template and the image is already owned by the client.

Why am I getting the error for “create template” when I try to only instantiate the vm?

```
Wed Jun 24 12:34:15 2020 [Z0][ReM][D]: Req:6944 UID:0 IP:127.0.0.1 one.template.info invoked , 85, false, false
Wed Jun 24 12:34:15 2020 [Z0][ReM][D]: Req:6944 UID:0 one.template.info result SUCCESS, "<VMTEMPLATE><ID>85</..."
Wed Jun 24 12:34:15 2020 [Z0][ReM][D]: Req:3680 UID:0 IP:127.0.0.1 one.template.instantiate invoked , 85, "vs-glb-xxxxxxxx-db...", false, "DISK=[
  IMAGE="Cent...", false
Wed Jun 24 12:34:15 2020 [Z0][ReM][E]: Req:3680 UID:11 one.template.instantiate result FAILURE [one.template.instantiate] User [11] : Not authorized to perform CREATE TEMPLATE.

```

---

<div class="post-metadata">

**Author:** ![dclavijo](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/dclavijo/32/5265_2.png) [@dclavijo](https://forum.opennebula.io/u/dclavijo)\
**Post date:** [July 2, 2020, 2:16pm UTC](https://forum.opennebula.io/t/error-when-trying-to-instantiate-from-a-template/8570/2 "2020-07-02T14:16:01Z")

</div>

What you instantiate is a template, take a look at the the API Call `one.template.instantiate`. The created VM is the result of a template instantiation.
