> ## Documentation Index
> Fetch the complete documentation index at: https://docs.clix.so/llms.txt
> Use this file to discover all available pages before exploring further.

# Errors

> Troubleshooting errors you may face in Clix console.

<AccordionGroup>
  <Accordion title="[PERMISSION_DENIED] SenderId mismatch">
    **Cause:** There’s a mismatch between the Service Account and the client-side GoogleService-Info.plist (or google-services.json) configuration.

    **Solution:** Make sure the service account file and the Google service files are from the same Firebase project.
  </Accordion>

  <Accordion title="[UNKNOWN] Unknown error while making a remote service call: Unknown exception in request">
    **Cause:** The Clix server encountered an unexpected internal error.

    **Solution:** Please try again, and if the issue persists, contact Clix support.
  </Accordion>

  <Accordion title="[UNAUTHENTICATED] Auth error from APNs or Web Push Service">
    Make sure your App signing and Apple push keys (.p8 file) is correctly registered on the Firebase console.
  </Accordion>

  <Accordion title="[INVALID_ARGUMENT] Request contains an invalid argument.">
    This error often happens because of an invalid token. Here are the steps to check and fix the issue:

    1. **Verify the Token**

       Make sure the token used in the request is valid and not expired or malformed.
    2. **Check Signing Process**

       If you are generating a token manually, confirm that the signing process is correct. The algorithm, headers, and payload must follow the required format.
    3. **Confirm p8 File or Certificate**

       If you are using APNs with Firebase Cloud Messaging, ensure that the .p8 file or certificate is correctly uploaded in the Firebase console and matches the key ID and team ID used in your code.
    4. **APNs Key and Bundle ID**

       Make sure the APNs key is linked to the correct app, and the bundle ID used matches what is registered in Firebase and Apple Developer Console.
    5. **Review Firebase Console Settings**

       Double-check all related settings in the Firebase project. Any mismatch between Firebase and Apple credentials can cause this error.

    By reviewing these points, you can usually identify the problem and adjust your request to fix the error.
  </Accordion>

  <Accordion title="[UNAUTHENTICATED] Request is missing required authentication credential">
    **Cause:** The .p8 file is not uploaded to the Firebase console, or the uploaded file is invalid.

    **Solution:** Upload a valid APNs authentication key (.p8 file) to your Firebase project. See [Firebase Setting Guide](https://docs.clix.so/firebase-setting#things-to-prepare) for detailed instructions.
  </Accordion>
</AccordionGroup>
