Error: AmazonS3 exception: Error 'The specified key does not exist

I am new to ASPOSE Products.

My code is:

$omr = new Aspose\Omr\Api\OmrApi($appKey, $appSid);
$response = $omr->postRunOmrTask(" ans.txt “, “GenerateTemplate”);
file_put_contents(time().”.response.txt", $response);

I am getting following error:

**Fatal error** : Uncaught exception 'Aspose\Omr\ApiException' with message '[404] Client error: `POST [https://api.aspose.cloud/v1.1/omr/ans.txt/runOmrTask?actionName=GenerateTemplate`](https://api.aspose.cloud/v1.1/omr/ans.txt/runOmrTask?actionName=GenerateTemplate) resulted in a `404 Not Found` response: {"Message":"AmazonS3 exception: Error 'The specified key does not exist.', Bucket 'afc-filestorage', FilePath '82741/189 (truncated...) '

Please tell me what should I place in ans.txt file

Why is this error coming?

This topic has been moved to the related forum: Create OMR Template with PHP SDK of Aspose.OMR REST API issue - Free Support Forum - aspose.cloud