title: Python - Firebase cloud messaging
body: <p>From python, I want to send a notification to all my android users who subscribed to a specific topic. </p>
  
  <p>This is the error I'm getting:</p>
  
  <pre><code>firebase_admin.messaging.ApiCallError: Firebase Cloud Messaging API has not been used in project 432453324 before or it is disabled. Enable it by visiting https://console.developers.goo
  gle.com/apis/api/fcm.googleapis.com/overview?project=432453324 then retry. 
  </code></pre>
  
  <p>I enabled the fcm for my android app, and it works fine when I send a notification from the console to android, but with python there's something wrong, what is it? </p>
  
  <p>Here's my code:</p>
  
  <pre><code>topic = 'new'
  
  # See documentation on defining a message payload.
  message = messaging.Message(
      data={
          'title': 'hahaha',
          'body': 'test',
      },
      topic=topic,
  )
  
  # Send a message to the devices subscribed to the provided topic.
  response = messaging.send(message)
  # Response is a message ID string.
  print('Successfully sent message:', response)
  </code></pre>