Backendless 3/NodeJS Getting 'Action Not Found'

I’m using a very similar code snippet in two places. In the first it works seamlessly. The second is giving me an ‘Action Not Found’ error. The main difference between the two is the source of the parameters. But I have checked the debug log, and my ‘where’ statement appears to be the same in both:

    var mJson = JSON.parse(message);

    if (mJson.hasOwnProperty('destUrl')) {
        var originalFile = mJson['srcVideo'];
        var outputFile = mJson['destUrl'];

        var mediaStorage = Backendless.Persistence.of(media);
        var dataQuery = new Backendless.DataQuery();
        var condition = process.env.BACKENDLESS_SEARCH_COLUMN + " LIKE '%" + originalFile + "'";
        dataQuery.condition = condition;
        console.log("condition: ", condition);
  // sample output:
  // media_url LIKE '%1ED48917-90C6-CDCF-FFEF-1EF487B8FD00/'
            .then(function(mediaRecords) {
                if(mediaRecords.totalObjects > 0) {
                    var mediaRecord =[0];
                    mediaRecord.optimized_video_url = outputFile;
                    console.log("new record : %j", mediaRecord);
                        .then(function (record) {
                            console.log("successfully updated record: %j", record);
                        .catch(function (err) {
                            console.log("unable to update backendless error: ", err);
                } else {
                    console.log("no records returned from backendless");
            .catch(function(err) {
                console.log("unable to process: ", err);
// error message:
// <h1>Action not found</h1>//<p id="detail">//For request 'GET //data/media?'//</p>

Hi Anne,

This is quite odd. What is your app id? I’d like to run a similar query to check.