HTTP Code : 400. The selected document type does not exist

HTTP Code : 400. The selected document type does not exist

my code is this

```
$templateObject = new TemplateObject();
$actions = new Actions();
$actions->setActionType(Actions::SIGNER);
$actions->setPrivateNotes($request->input('template_name',''));
$actions->setRole(Actions::SIGNER);
$actions->setSigningOrder(0);

$templateObject->setTemplateName($request->input('template_name',''));
$templateObject->setNotes($request->input('template_private_notes'));
$templateObject->setSequentialSigning(false);
$templateObject->setEmailReminders(true);
$templateObject->setReminderPeriod(2);

$templateObject->addAction($actions);

$file1 = storage_path($file);
$files = [
new CURLfile($file1)
];



$zohoTemplate = ZohoSign::createTemplate($templateObject,$files);
```

my autherization is correct since it is not give me authorization error .
the file path is correct.
but i get this error

```
HTTP Code : 400. The selected document type does not exist
```

I am using the official php zoho sign sdk library


    • Sticky Posts

    • Free webinar! Build smarter apps with Zoho Sign and Zoho Creator

      Hello, Bring the power of digital signatures to the apps you build in Zoho Creator! Connect Zoho Sign as a microservice and enable seamless e-signature workflows in your applications. This integration allows you to automate signing tasks using Deluge.