create project from project template via API

I'm trying to write script in google apps script to create project from project template in easyredmine.

Here is reference documentation: https://easyredmine.docs.apiary.io/#reference/project-templates/create-a-project-from-a-project-template/create-a-project-from-a-project-template

The problem is that server responses with 422 code. (Now I'm trying api with Insomnia). Server says only that there are missing required fields in my request.

Here is my xml:

<template>
    <parent_id>274</parent_id>
    <project id="2020">
        <name>test</name>
    </project>
</template>

I've omitted custom fields because I turned off required custom fields in templates in my easy redmine.

Interesting is fact that without section "project" I can create project from project template, but it has default name (same as template). Every parameters from section "project" generates error 422. 

Hello, 

our programmer tested following xml:

<template>
    <parent_id>274</parent_id>
    <project id="2020">
        <name>test</name>
    </project>
</template>

and it works.

There can be issue with project_id, project_id must be ID of your project template.

From knowledge:
"Numeric id of the Project Template to be used. Example: 206"


Please make sure, your project_id is the same as ID of your project template.