I am attempting to get data back from S3 and when I use getSignedURL, everything works:
aws.getSignedUrl('getObject', params, function(err, url){
console.log(url);
});
My params are:
var params = {
Bucket: "test-aws-imagery",
Key: "TILES/Level4/A3_B3_C2/A5_B67_C59_Tiles.par"
I took the URL output to the console and pasted it into a web browser and it downloaded the file I needed. But when I put a breakpoint on one of the consoles. logs, my IDE (NetBeans) throws an error and refuses to show the value of data.
How can I solve this? Can someone guide me on this?