[android-components](../../index.md) / [mozilla.components.lib.push.amazon](../index.md) / [AbstractAmazonPushService](index.md) / [onRegistrationError](./on-registration-error.md)

# onRegistrationError

`protected open fun onRegistrationError(errorId: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/lib/push-amazon/src/main/java/mozilla/components/lib/push/amazon/AbstractAmazonPushService.kt#L43)