The bird 's range surrounds the `` Amazon countries '' into the Andes foothills and higher heights of upstream river systems , but is not along the Amazon River proper in the central Amazon Basin , or the central upper Basin ; it is in Brazil at the river 's outlet , and upstream for about 500 km . The bird 's range surrounds the Amazon countries into the Andes foothills and higher elevations of upstream river systems , but is not along the Amazon River proper in the central Amazon Basin , or the central upper Basin ; it is in Brazil at the river 's outlet , and upstream for about 500 km .