Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

SINCH PROBLEMS: 40303 User creation is disabled for this application

I am making a PSTN calling website called "Rekko." I programmed everything and then I get an error with the name of "40303 User creation is disabled for this application." I do not know what is happening. Will post code on request.

1 Answer

Hello Farouk Charkas,

just seeing now you requested help with this from me.

first, you do not state what course or module you are working on for this PSTN you say you're creating; also, most folk here won't know that a PSTN means public switched telephone network, or what used to be called POTS for Plain Old Telephone Service (what we now refer to as "land line" telephones). They also probably won't know that Sinch is a third-party cloud-based API for making phone calls or sms. it helps, if you want responses, if you explain these things a bit in your query.

i'm assuming you are coding this in JavaScript, as you asked for my help and that is one of my expertise? which treehouse course and module is this for? could you please post some code so we can see where it might be tripping up, that would be helpful.

also, in searching the Sinch API website, it says there a 40303 error is largely due to permissions — either the phone number you are attempting to dial has not been verified in your cloud Sinch account, or you're attempting to send an SMS to a phone number that also has not been verified in your cloud Sinch account.

let us know if this helps or if you have code or further info that would help track this down, particularly the treehouse course you are on and what programming language and/or API or Framework you're using.

best,

— faddah

 portland, oregon, u.s.a.

Hey Faddah Wolf,

So the code is with my co-founder who is not available right now. I am programming in JavaScript. And how do I verify phone numbers in Sinch?

Farouk Charkas,

unfortunately, that i couldn't tell you. i am not well versed enough with the Sinch process or their API to know that. you might check their documentation, i link to their web site above.

best,

— faddah portland, oregon, u.s.a.