debugging aws error