No cached result found for this query

Issue Summary

Hi,

I’m using node.js to make a simple GET request to this url: http://redash.dream-tools.io/api/queries/291/results.json?api_key=xxxxx
here’s the code:


fetch('http://redash.dream-tools.io/api/queries/291/results.json?api_key=RsqDQyZTKm9kO3GNRRvmoYAnCFV7v3iUx7n71FXn',{method:"GET", headers:{
    'Authorization': 'Key xxxxx'}})
    .then(response => {
        return response.json();
    })
    .then(data => {
        console.log(data);
    });

For some reason I’m getting the following error { message: 'No cached result found for this query. You have requested this URI [/api/queries/291/results.json] but did you mean /api/query_results or /api/queries/<query_id>/refresh or /api/query_results/<query_result_id> ?' }

I have tried making a POST request instead since I’ve read that it could be a viable solution but when I do that I get this error message:

{ message: 'The method is not allowed for the requested URL.' }

Can you please give me a hand with this?

Thanks!

@jesse can you please help?

Thanks!