Hello @MaryT0905 ,
it's an array, therefore, you must process it as an array first = add 'Apply to each' to loop through all the items and then extract the "locations".
Or if it's always only a single item, you can use the first(..) expression to process the array and extract the value, e.g.
first(<the array>)?['locations']