mercredi 31 décembre 2014

Turning off Unauthenticated Identities in Amazon Cognito for IOS

I disabled access to Unauthenticated Identities and found that my Logging threw these messages:



2014-12-31 13:43:33.010 com.tharock[421:136403] AWSiOSSDKv2 [Verbose] AWSURLResponseSerialization.m line:263 | -[AWSXMLResponseSerializer responseObjectForResponse:originalRequest:currentRequest:data:error:] | Response body: [<ErrorResponse xmlns="http://ift.tt/17546ih">
<Error>
<Type>Sender</Type>
<Code>ValidationError</Code>
<Message>Request ARN is invalid</Message>
</Error>
<RequestId>111c34e1-9136-11e4-92c2-75de57cf7c5e</RequestId>
</ErrorResponse>
]
2014-12-31 13:43:33.027 com.tharock[421:136403] AWSiOSSDKv2 [Error] AWSCredentialsProvider.m line:433 | __40-[AWSCognitoCredentialsProvider refresh]_block_invoke293 | Unable to refresh. Error is [Error Domain=com.amazonaws.AWSSTSErrorDomain Code=0 "The operation couldn’t be completed. (com.amazonaws.AWSSTSErrorDomain error 0.)" UserInfo=0x1740f7a00 {Type=Sender, Message=Request ARN is invalid, Code=ValidationError, __text=(
"\n ",
"\n ",
"\n ",
"\n "
)}]
2014-12-31 13:43:33.028 com.tharock[421:136403] Error: Error Domain=com.amazonaws.AWSSTSErrorDomain Code=0 "The operation couldn’t be completed. (com.amazonaws.AWSSTSErrorDomain error 0.)" UserInfo=0x1740f7a00 {Type=Sender, Message=Request ARN is invalid, Code=ValidationError, __text=(
"\n ",
"\n ",
"\n ",
"\n "
)}


Is it complaining about my CognitoRoleUnauth parameter defined in Constants.h? I have valid ARN supplied for CognitoRoleAuth, and valid CognitoPoolID and account. It has been working well with the unauthenticated Identity, but I must close that off now.





Aucun commentaire:

Enregistrer un commentaire