InvalidParameters: Bad topic or filter provided
-
Hi there,
I have a flutter application which is using FCM for push notifications.
When I sent a push notification from the firebase dash it does display in app.
However when I send a test messaging from this plugin I get the following errors:
{“headers”:{},”body”:”{\”error\”:\”InvalidParameters: Bad topic or filter provided\”}”,”response”:{“code”:200,”message”:”OK”},”cookies”:[],”filename”:null,”http_response”:{“data”:null,”headers”:null,”status”:null}}
perhaps I am setting the plugin settings up wrong.
I have used my firebase project server key for api key. The topic that is configured in the app which in my case is: “One Track Mind Magazine”
for application channel I added this code to my android manifest:
<meta-data android:name=”com.google.firebase.messaging.default_notification_channel_id”
android:value=”app_channel”/>and I’m using “app_channel” as channel name.
Any ideas what I am doing wrong?
- The topic ‘InvalidParameters: Bad topic or filter provided’ is closed to new replies.