gerner As I suspected, there's something breaking in the backend.
The code you posted includes the following: "apiDocument":{"errors":[{"status":"500","code":"unknown"}]
, which is the reason why the JS error stacktrace looks like it does.
There might be an error in the Flarum log file? Not 100% sure.