Unable to InAppMessaging.syncMessages() due to No Cognito Identity pool provided for unauthenticated access

0

We are using Amplify for push notifications within our React Native mobile app which is working properly. However, when I tried to add InApp messaging, I get the following errors:

 ERROR  [ERROR] 13:58.168 InAppMessaging.AWSPinpointProvider - Error getting credentials: No Cognito Identity pool provided for unauthenticated access
 ERROR  [ERROR] 13:58.170 InAppMessaging.AWSPinpointProvider - Error getting in-app messages [Error: One or more of credentials, appId or region is not configured]
 ERROR  [ERROR] 13:58.172 Notifications.InAppMessaging - Failed to sync messages [Error: One or more of credentials, appId or region is not configured]

Upon inspection, we do have a Cogito Identity pool, and it appears to be working properly with not only "Enable access to unauthenticated identities" enabled, but also with hundreds of Unauthenticated Identities this month. Note that we do not use Amplify to identify users and therefore do not directly utilize Cognito functionality. I even verified that our identity pool Unauthenticated (and authenticated) role includes Action mobiletargeting:GetInAppMessages

No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions