General developer forum

web service core_files_upload, The file has not been specified

 
Picture of Carlos H Bolaños
web service core_files_upload, The file has not been specified
 

Moodle version 3.3


Best regard,


I have configured the REST web service.


he made tests with core_course_get_courses and everything perfect, if you list me. BUT when I use core_files_upload with its required arguments (context, component, file area, itemid, file path, file name, file content, context level, instanceid)


He throws me the following, but does not look for solutions or examples.


"exception": "moodle_exception",


"errorcode": "nofile",


"message": "The file has not been specified"


 
Average of ratings: -