Fix error parsing for SNS