0perationPrivacy / VoIP

Web Base Telnyx/Twilio VoIP Interface enabling SMS, MMS and Voice calls using the providers API Keys and self-hosting the application.
https://VoIP.OperationPrivacy.com
GNU General Public License v3.0
238 stars 421 forks source link

Setting up Telnyx profile error #14

Closed zhuemann3 closed 3 years ago

zhuemann3 commented 3 years ago

Platform: Desktop and Mobile Browser: Firefox, and Safari App Version: e.g v0.60-beta Provider: Telnyx

Describe the bug

I get an error when I enter Telnyx API when setting up the profile. In the "Add New Profile" dropdown, it only asked me to name my profile. MB's guide said there would be a choice of providers. I made up a name. Then I needed to go to settings to select Telnyx, add my API key and hit get number. When I hit save it gives me an Oops error. I then can only close the settings window with the x in the right corner.

At this point it looks functional. My number is in the profile but every time I try to send a message, I get a status 400 error (invalid from). BTW, checking Telnyx, it shows the API key is being used. ou expected to happen.

Screenshots

Screen Shot 2021-09-11 at 10 00 42 AM Screen Shot 2021-09-11 at 10 01 48 AM Screen Shot 2021-09-11 at 10 03 08 AM
0perationPrivacy commented 3 years ago

could be an issue with the BASE_URL in the environment variables. check for typos and correct format there. include "https://"

bioscopic commented 3 years ago

Platform: Desktop and Mobile Browser: Firefox, and Safari App Version: e.g v0.60-beta Provider: Telnyx

Describe the bug

I get an error when I enter Telnyx API when setting up the profile. In the "Add New Profile" dropdown, it only asked me to name my profile. MB's guide said there would be a choice of providers. I made up a name. Then I needed to go to settings to select Telnyx, add my API key and hit get number. When I hit save it gives me an Oops error. I then can only close the settings window with the x in the right corner.

At this point it looks functional. My number is in the profile but every time I try to send a message, I get a status 400 error (invalid from). BTW, checking Telnyx, it shows the API key is being used. ou expected to happen.

Screenshots

Screen Shot 2021-09-11 at 10 00 42 AM Screen Shot 2021-09-11 at 10 01 48 AM Screen Shot 2021-09-11 at 10 03 08 AM

Did you test with a number purchased that you "own/lease" from telnex within your telnex stack, and you're getting the error when entering your API key? Also maybe Telnex is not allowing users to use their API unless they have funded their account with more $ than just what the initial offer was if you used MBs link and got the promotional credit perhaps? Funded mine and threw Telnex some extra $ just to make sure my account didn't get flagged and to make sure everything works. I have no proof this is the issue. Just throwing it out there as a possibility. Could be the problem or just speculation. Hope you can get working!

zhuemann3 commented 3 years ago

You all rock. It was the https:// part. Everything is working great. Thanks!

0perationPrivacy commented 3 years ago

i need to figure out a way to put that validation in the code as it's in an env variable for ease of use. For now at least, it's in the writeup.