Back

Error: error:0909006C:PEM routines:get_name:no start line

  • 0
  • Functions
  • Cloud
Zionnite
2 Oct, 2024, 19:46

i started having this error immediately when i added a global variable to my appwrite cloud Global variables

TypeScript
      
      type: process.env.FIREBASE_TYPE,
      project_id: process.env.FIREBASE_PROJECT_ID,
      private_key_id: process.env.FIREBASE_PRIVATE_KEY_ID,
      private_key: process.env.FIREBASE_PRIVATE_KEY,
      client_email: process.env.FIREBASE_CLIENT_EMAIL,
      client_id: process.env.FIREBASE_CLIENT_ID,
      auth_uri: process.env.FIREBASE_AUTH_URI,
      token_uri: process.env.FIREBASE_TOKEN_URI,
      auth_provider_x509_cert_url: process.env.FIREBASE_AUTH_PROVIDER_CERT_URL,
      client_x509_cert_url: process.env.FIREBASE_CERT_URL,
      universe_domain: process.env.FIREBASE_UNIVERSE_DOMAIN
    };```
TL;DR
Error message "error:0909006C:PEM routines:get_name:no start line" occurring when adding global variables in Appwrite Cloud Variables. The issue arose after including a new global variable for Firebase configuration. Solution: Ensure the Firebase Private Key is correctly formatted with proper start lines.
Zionnite
2 Oct, 2024, 20:16

value from Appwrite Global variable is being returned but issues persist...

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more