error after purchasing subscription /

Published at 2018-09-14 21:19:28

Home / Categories / Iap / error after purchasing subscription
Hi,We are getting a java.lang.
IllegalArgumentException thrown after we purchase a subscription in live app testing. We are adding the user's email to the list of live app testers, we have the account registered on the device and even entered in the device's email client. We can star the purchase flow and see the native pop-up and can subscribe. But after this, and we rep this exception thrown in logcat :

Th
e account that this AuthenticationMethod with is no longer registered Account not registered: ***3Q. Registered accounts are: ***BQjava.lang.
IllegalArgumentException at com.amazon.identity.auth.device.utils.
MAPLog.a
ccountNotRegisteredError(MAPLog.java:259) at com.amazon.identity.auth.device.api.
Authenticat
ionMethod.throwIfInvalidAccount(AuthenticationMethod.java:447) at com.amazon.identity.auth.device.api.
AuthenticationMethod.authenticateConnection(AuthenticationMethod.java:136) at com.amazon.identity.auth.device.api.
AuthenticatedHttpURLConnection.performOnConnectionRequested(AuthenticatedHttpURLConnection.java:78) at com.amazon.identity.auth.device.framework.
WrappableHttpURLConnection.onConnectionRequested(WrappableHttpURLConnection.java:53) at com.amazon.identity.auth.device.framework.
WrappableHttpURLConnection.
connect(WrappableHttpURLConnection.java:153) at com.amazon.identity.auth.device.api.
AuthenticatedHttpsURLCo
nnection.connect(AuthenticatedHttpsURLConnection.java:174) at com.amazon.dcp.framework.iuc.
ConnectionWrapper.connect(ConnectionWrapper.java:326) at com.amazon.dcp.framework.iuc.
LoggingU
RLConnection.access$201(LoggingURLConnection.java:13) at com.amazon.dcp.framework.iuc.
LoggingURLConnection$2.call(LoggingURLConnection.java:135) at com.amazon.dcp.framework.iuc.LoggingURLConnection$2.call(LoggingURLConnection.java:131) at com.amazon.dcp.framework.tracing.
BaseTracer.tr
ace(BaseTracer.java:34) at com.amazon.dcp.framework.tracing.
BaseTracer
.traceOnCurrentThread(BaseTracer.java:62) at com.amazon.dcp.framework.iuc.
LoggingURLConnection.connect(LoggingURLConnection.java:130) at com.amazon.dcp.framework.iuc.
ConnectionEstablisherWithExternalConne
ctionFactory.doEstablishConnectionWithBody(ConnectionEstablisherWithExternalConnectionFactory.java:118) at com.amazon.dcp.framework.iuc.
ConnectionEstablisherW
ithExternalConnectionFactory.access$100(ConnectionEstablisherWithExternalConnectionFactory.java:20) at com.amazon.dcp.framework.iuc.
Con
nectionEstablisherWithExternalConnectionFactory$1.onBodyAvailable(ConnectionEstablisherWithExternalConnectionFactory.java:99) at com.amazon.dcp.framework.iuc.
ConnectionWithBufferedOut
put.processBody(ConnectionWithBufferedOutput.java:46) at com.amazon.dcp.framework.iuc.
ConnectionWithBufferedOutput.access$000(ConnectionWithBufferedOutput.java:15) at com.amazon.dcp.framework.iuc.
ConnectionWithBufferedOutput$1.clos
e(ConnectionWithBufferedOutput.java:22) at com.amazon.org.apache.commons.io.
IOUtils.closeQuietly(IOUtils.java:303) at com.amazon.org.apache.commons.io.
IOUtils.closeQuietly(IOUtils.java:274) at com.amazon.dcp.framework.iuc.
ConnectionEstablisherWithRetry.establishConnectionWithTimeout(ConnectionEstablisherWithRetry.java:193) at com.amazon.dcp.framework.iuc.
ConnectionEstabli
sherWithRetry.doEstablishConnectionWithBody(ConnectionEstablisherWithRetry.java:113) at com.amazon.dcp.framework.iuc.
ConnectionEstablisherWi
thRetry.access$200(ConnectionEstablisherWithRetry.java:26) at com.amazon.dcp.framework.iuc.
ConnectionEstablisherWithRetry$1.onBodyAvailable(ConnectionEstablisherWithRetry.java:101) at com.amazon.dcp.framework.iuc.
ConnectionWithBufferedOutput.pr
ocessBody(ConnectionWithBufferedOutput.java:46) at com.amazon.dcp.framework.iuc.ConnectionWithBufferedOutput.access$000(ConnectionWithBufferedOutput.java:15) at com.amazon.dcp.framework.iuc.
ConnectionWithBufferedOutput$1.close(ConnectionWithBufferedOutput.java:22) at com.amazon.org.apache.commons.io.
IOUtils.clo
seQuietly(IOUtils.java:303) at com.amazon.org.apache.commons.io.
IOUtils.clos
eQuietly(IOUtils.java:274) at com.amazon.dcp.framework.webrpc.
CallExec
utor.writeRequest(CallExecutor.java:164) at com.amazon.dcp.framework.webrpc.
CallExecutor.
doExecute(CallExecutor.java:114) at com.amazon.dcp.framework.webrpc.
CallE
xecutor.access$100(CallExecutor.java:26) at com.amazon.dcp.framework.webrpc.
CallExecutor$2.call(CallExecutor.java:98) at com.amazon.dcp.framework.webrpc.
CallExecutor$2.ca
ll(CallExecutor.java:91) at com.amazon.dcp.framework.tracing.BaseTracer.trace(BaseTracer.java:34)[br]
whether we restart the app,the user is subscribe and everything works. It just that flow breaks on subscription and we do not rep any callback because of this.
What could cause this? Is there besides to fix it on our side? Will this happen only in Live App Testing?Thanks!

Source: amazon.com

Warning: Unknown: write failed: No space left on device (28) in Unknown on line 0 Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0