Skip to content
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

Initialize failed #139

Closed
1280103995 opened this issue Jun 1, 2021 · 2 comments
Closed

Initialize failed #139

1280103995 opened this issue Jun 1, 2021 · 2 comments

Comments

@1280103995
Copy link

1280103995 commented Jun 1, 2021

5759-cdc0-4121-9099-a128c8394a2f

d0aa44be-3825-492e-af43-f27c95dc24a1

When I tested whether the key is valid, I got an error message.

Run: curl -H "Api_Key: *********************68d5d6" https://api.iterable.com/api/users/registerDeviceToken

{
	"msg": "Disabled API key or insufficient privileges",
	"code": "BadApiKey",
	"params": {
		"ip": "173.248.225.222",
		"endpoint": "/api/users/registerDeviceToken",
		"apiKeyIdentifier": "ba68d5d6",
		"apiKeyType": "Mobile"
	}
}
@davidtruong
Copy link

The mobile key type is restricted and can't access the api/users endpoint.

@1280103995
Copy link
Author

Although the SDK initialize return undefined, but setEmail worked.

Now push notification works well on IOS, but it doesn't work on Android.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants