
So I define a global env - GCP_CREDENTIALS in global env of my appwrite projcet and refer to it in my functions as
gcp_creds: JSON.PARSE(GCP_CREDENTIALS)
to use it.
This is what I define it as -
{ "type": "service_account", "project_id": "abc-csas-xxx123", "private_key_id": "12345", ...}
Everything works fine I can access these in my functions until, I open the editor or make any changes in any global env, after updating anything in this env, my GCP_CREDS are automatically processed as
{ type: service_account,project_id: ace-coda-xxx123, private_key_id: 12345, ...}
And now my functions cant read it.
How do I fix this. Either by stopping whatever processing appwrite is doing to these or by altering the access method in my functions.
Recommended threads
- Google Sign In Long Delay From Yesterday
I am using google sign auth provider. everything was working as expected without any issue. But from yesterday, it takes too much time to login and some time fo...
- Date objects behaving weird
I've programmed an app that uses Date objects. Everything works perfectly in my local environment, but on my hosted version with Vercel, the times of the object...
- Login with google error, Error 400: redi...
Hi, when i login with Oauth2 , using createOAuth2Session( 'google', 'http://localhost:5173/', 'http://localhost:5173/' ); It give...
