title: Firebase messaging/mismatched-credential
body: <p>I'm trying to send notifications to a specific device with Firebase but am getting the following error:</p>
  
  <blockquote>
    <p>{"r": {"results":[{"error":{"code":"messaging/mismatched-credential","message":"The credential used to authenticate this SDK does not have permission to send messages to the device corresponding to the provided registration token. Make sure the credential and registration token both belong to the same Firebase project."}}],"canonicalRegistrationTokenCount":0,"failureCount":1,"successCount":0,"multicastId":5165415028752234000}}</p>
  </blockquote>
  
  <p>I'm not sure what is causing this, I'm using the service account associated with the project and the proper device id. </p>
  
  <p>Any help would be great, thanks!</p>