Where to Specify output Directory

Iam getting this message after in craeted a new module and try to validate.
TCPDF ERROR: Unable to create output file: error-diroutput-not-defined-for-this-object=mypestrecord/MYOBJECT2404-0002/MYOBJECT2404-0002.pdf

where do i define the object, kindly help, iam stuck