Can't create documents thorugh UIPath assistant

Hey,
Im’ trying to create a word document using UiPath assistant and keep on getting this error -
what could be the problem?

An automation failed: AFE_CreateDocument
Status: Failed
Parameters:[Text: Please replace this text with the content of C:\downloads\TECH.03 - PDD, replacing with Invoice Control,DocumentTitle: Invoice Control PDD,DocumentType: pdf]
Output:{
“exception_string”: "RemoteException wrapping UiPath.Robot.Api.JobExecutionException: Job has failed. —> RemoteException wrapping System.Exception: Document type: pdf not supported. \n at System.Activities.Statements.Throw.Execute(CodeActivityContext context)\r\n at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)\r\n at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)\n\t— End of inner exception stack trace —\n at UiPath.Service.UserHost.PublicRobotOperations.UiPath.Robot.Api.IRobotOperations.RunJob(RunJobDto parameters, Message message, CancellationToken ct)\r\n at UiPath.CoreIpc.Server.<>c__DisplayClass7_3.<<-ctor>g__InvokeMethod|6>d.MoveNext()\r\n— End of stack trace from previous location —\r\n at UiPath.CoreIpc.Server.<>c__DisplayClass7_1.<<-ctor>g__HandleRequest|3>d.MoveNext()\r\n— End of stack trace from previous location —\r\n at UiPath.CoreIpc.Server.<>c__DisplayClass7_2.<<-ctor>b__5>d.MoveNext()\r\n— End of stack trace from previous location —\r\n at UiPath.CoreIpc.Helpers.Timeout[TResult](TimeSpan timeout, List

@daniela.rosenstein,

Can you share the code what’s it’s doing and how it’s creating the document. From the error it looks like Document type pdf is not supported by one of the activity in your code.

@daniela.rosenstein

As per error pdf is not supported as input for the activity you are using,…try to identify the activity first

also the location it shows does not seem to point to a file as well rather points to folder may be…or add the extension as well

cheers