Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.


Farouk Charkas
Farouk Charkas
1,957 Points

JavaScript's Errors Uncomprehensible For Me (Sinch)

I am getting an error when using Sinch. The error's status is 400 and it's code is 4000 with a domain of 3 and is complaining about "Identity Endpoint Required." I am more than happy to post code on-demand!

1 Answer

Does the stack property of the error object you get back have anything useful in it?

Otherwise, 400 is Bad Request, and it seems you're missing this part:

Identity (Using REST | Sinch)