twilio-professional-services / flex-project-template

A starting point for Twilio Flex projects, providing management strategies for various types of artifacts and distributed development
https://twilio-professional-services.github.io/flex-project-template/
Apache License 2.0
64 stars 71 forks source link

Project Deployment Failing #554

Open mdeshpande12 opened 6 months ago

mdeshpande12 commented 6 months ago

I'm trying to deploy a template to my flex account on stage environment. But the deployment process is failing at the validate api key step. I rechecked my api key and api secret along with the accountSid; they are all correct, but I'm still facing this issue.

https://github.com/mdeshpande12/InlineMediaTest/actions/runs/9012338791/job/24761419089#step:6:12

Screenshot 2024-05-09 at 9 57 18 AM
jared-hunter commented 6 months ago

Assuming you have entered the credentials correctly, there are two potential issues i can think of that i have seen

  1. If it is a new Twilio Flex account, on very rare occasions Flex pieces are not setup properly. You can examine this by logging into the console and going to the Flex product in the "explore products" pane, if it fails to load, this might be your issue.

  2. if it is not a new flex account and it has been working for some time before, have you checked your account hasn't been suspended for having negative balance or some other reason? If this is ambiguous, you can test any Rest API yourself on that account and you will get the same 401 response.

Hope this helps.

dremin commented 6 months ago

Hi @mdeshpande12! Currently the template does not support running in stage, as our team does not have access, so we cannot validate or maintain that capability. If you're able to use an account in the production environment instead, that should work much better! 😄

jared-hunter commented 6 months ago

Ooooohh that stage 😂

dremin commented 5 months ago

This should be resolved with #560.