question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

AWSPinpointProvider - Please ensure you have updated you Pinpoint IAM Policywith the Action: "mobiletargeting:PutEvents" in order tocontinue using AWS Pinpoint Service

See original GitHub issue

AWSPinpointProvider - Please ensure you have updated you Pinpoint IAM Policywith the Action: “mobiletargeting:PutEvents” in order tocontinue using AWS Pinpoint Service

componentDidMount() {
    Analytics.record('APP_STARTED');
}

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:62 (21 by maintainers)

github_iconTop GitHub Comments

23reactions
ehorodyskicommented, Sep 30, 2018

The documentation on how to add the additional permission is quite confusing:

  1. What policy needs to be updated? I assume it’s the MobileHub project’s Cognito policy?
  2. If you’re looking to use the Policy dashboard to update your policy, PutEvents does not show up as an available option for Pinpoint. You have to edit the JSON policy directly.
  3. After doing so, you have no way to verify that you’ve correctly added the policy, as the warning message still shows up. Analytics are also being posted to an endpoint with legacy in it, which doesn’t make me feel confident that I correctly applied the permission to the right policy.

I hate saying this, but Pinpoint is one of the poorest AWS services available. It’s nowhere near as granular as the rest of AWS, with policies that are coupled with other services (I think you need Mobilehub permissions to create a Pinpoint project) – when I really just want a lightweight analytics solution. The analytics portion of it is not nearly as fleshed out as Mobile Analytics was and has tons of odd limitations, like only storing the last 30 days of data. Sorry for the rant; just not happy in the slightest with Pinpoint, and now it’s affecting Amplify.

11reactions
eturner0commented, Sep 26, 2018

Are there instructions on how to change the IAM policy to correct this error?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Amazon Pinpoint actions for IAM policies - AWS Documentation
In Amazon Pinpoint, you create import jobs to create segments based on endpoint definitions that are stored in an Amazon S3 bucket. mobiletargeting:PutEvents....
Read more >
Amazon Pinpoint identity-based policy examples
This example shows how you might create a policy that allows IAM users to view the inline and managed policies that are attached...
Read more >
How Amazon Pinpoint works with IAM
Amazon Pinpoint provides a set of actions that you can use in IAM policies to specify granular permissions for Amazon Pinpoint users and...
Read more >
Step 2: Create IAM policies and roles - Amazon Pinpoint
The next step in implementing the SMS registration solution is to configure a policy and a role in AWS Identity and Access Management...
Read more >
Actions, resources, and condition keys for Amazon Pinpoint
Actions Description Access level Resourc... CreateApp Grants permission to create an app Write CreateCampaign Grants permission to create a campaign for an app Write apps* CreateCampaign...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found