New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pinpoint configuration mobiletargeting:PutEvents action does not exist #296
Comments
Facing the same problem. |
@izieg-lo3 i was able to set the policy in AWS exactly as described in PinPoint project settings setup section, including "mobiletargeting:PutEvents". My speculation is AWS changed something in SDK, as with latest SDK we saw problems w/o this "mobiletargeting:PutEvents" permissions. Anyway AWS IAM editor works fine with "mobiletargeting:PutEvents" and accepts it, as per PinPoint project setup. |
Same problem here. It's strange because events are properly recorded via |
Just posting as noone posted yet, using this as per project configuration page https://console.aws.amazon.com/pinpoint/home/?region=us-east-1#/apps/YOURPROJECTID/settings/push
|
Anyone else seeing this issue - for me it helped to turn on debug mode, the error message with regards to the IAM role is a red herring. I set a breakpoint and stepped back through the call stack, in my case it turned out I had some custom attributes being recorded that were not of type "string". It'd be good if some type detection could be inferred but for now you have to force all attributes to be strings. |
Try using the Logging DEBUG option with. It culd show you the reason why. import Amplify, { ConsoleLogger as Logger} from '@aws-amplify/core'; |
We also had the IAM role issue. It turned out that the Cognito identity pool did not allow "Unauthenticated identities". After checking "Enable access to unauthenticated identities" in the identity pool, the issue was fixed. |
@izieg-lo3 or anyone on this thread, are you guys still have issue with the documentation here/what should be changed? |
No issue anymore, not using Pinpoint anymore 👍 |
This issue has been automatically closed because of inactivity. Please open a new issue if are still encountering problems. |
this is sad |
"No issue anymore, not using Pinpoint anymore " this is acceptable ? |
I am following this guide: https://aws-amplify.github.io/docs/js/analytics
When creating the policy specified in this guide:
Using the IAM Management Console in AWS to create this policy, it reports that the
mobiletargeting:PutEvents
action does not exist.What action are we supposed to use here?
The text was updated successfully, but these errors were encountered: