Skip to content

Support "unidentify" in Analytics.identifyUser #3560

@jamilsaadeh97

Description

@jamilsaadeh97

Description

I've been testing my app (removing and reinstalling) on a simulator. After a while I got this exception on Amplify.Analytics.identifyUser():

UnknownException (UnknownException {
  "message": "Error in request data sent to Pinpoint.",
  "recoverySuggestion": "An unknown exception has happened.           Please take a look at \n        https://github.com/aws-amplify/amplify-flutter/issues to see if there are any existing issues that \n        match your scenario, and file an issue with the details of the bug if there isn't.\n  ",
  "underlyingException": "BadRequestException {\n  message=Exceeded maximum endpoint per user count:15,\n}"
})

I think that this will cause issues with push notifications and any events recording

I know that there's a maximum of endpoints per user but this issue appeared after I deleted the app from the simulator and reinstalled it. Should this be considered the same endpoint?

Thank you!

Categories

  • Analytics
  • API (REST)
  • API (GraphQL)
  • Auth
  • Authenticator
  • DataStore
  • Notifications (Push)
  • Storage

Steps to Reproduce

  1. Run an app and identifyUser
  2. Remove and reinstall the app on the same simulator 15 times.

Screenshots

No response

Platforms

  • iOS
  • Android
  • Web
  • macOS
  • Windows
  • Linux

Flutter Version

3.10.6

Amplify Flutter Version

1.3.1

Deployment Method

Amplify CLI

Schema

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    analyticsIssues related to the Amplify Analytics Categoryfeature-parityA request for a feature that is fully or partially available on another platform (JS, iOS, Android)feature-requestA request for a new feature or an enhancement to an existing API or category.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions