mediaopt / braintree-commercetools-connector

MIT License
1 stars 3 forks source link

Getting installation error with braintree commercetools Connector #72

Open pkumar05 opened 1 week ago

pkumar05 commented 1 week ago

Hello team,

I'm getting error while installing this Braintree Commercetools Connector inside commercetools through Connect application. Error: { "message": "/workspace/braintree-commercetools-events/build/utils/config.utils.js:26\n throw new custom_error_1.default('InvalidEnvironmentVariablesError', 'Invalid Environment Variables please check your .env file', validationErrors);\n ^", "payload": { "message": "/workspace/braintree-commercetools-events/build/utils/config.utils.js:26\n throw new custom_error_1.default('InvalidEnvironmentVariablesError', 'Invalid Environment Variables please check your .env file', validationErrors);\n ^" } }

Error : {\n statusCode: 'InvalidEnvironmentVariablesError',\n errors: [\n {\n code: 'InvalidRegion',\n message: 'Not a valid region.',\n referencedBy: 'environmentVariables'\n }\n ]\n}" } }

We believe that when we setting up CTP_REGION value for all three component such as braintree-commercetools-events , braintree-extension, braintree-notifications, this is where it giving us the error of Not a valid region.

We already tried e value such as North America , North America (Google Cloud) and us-central1 and last we try with the value https://api.us-central1.gcp.commercetools.com/ we still getting above error.

Can you please advise what value to be set considering the region is North America.

LiudmylaMasliuk commented 13 hours ago

Dear @pkumar05

could you please try the value "us-central1.gcp"?

Could you also which company are you working for?

Kind regards, Liudmyla Masliuk