The first step you’ll wanna take here is checking the console, which should give you some more information on what went wrong. On the menu that comes out from the top left, go System Console > Server Logs, and see what went wrong.
Are you doing a POST request with the proper authorization bearer?