working with amazon errors