Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

297
Views
Retrieving a JSON file in JavaScript from AWS S3 and Displaying it in HTML

I'm using AWS S3 which I have uploaded a JSON file to a bucket. When I run this code, nothing is returned. I am unsure what is wrong. Any advice would be helpful.

//Javascript to get JSON file

var jsondata = $.getJSON("https://s3.us-east-2.amazonaws.com/BucketName/MYData.json");
var data = JSON.parse(jsondata);
var temp = data.test;
$('#dataJSON').html(temp);

--------------------------
//HTML to Display

<div id= "dataJSON"></div>
about 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!