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/1505433962915.01.mov'
        Backendless.Persistence.of(media).find(dataQuery)
            .then(function(mediaRecords) {
                if(mediaRecords.totalObjects > 0) {
                    var mediaRecord = mediaRecords.data[0];
                    mediaRecord.optimized_video_url = outputFile;
                    console.log("new record : %j", mediaRecord);
                    Backendless.Persistence.of(media).save(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?where=media_url%20LIKE%20%27%251ED48917-90C6-CDCF-FFEF-1EF487B8FD00%2F1505433962915.01.mov%27'//</p>

Hi Anne,

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

Regards,
Mark