Weird. Can you share the sketch code? When you say the REST api doesn't work, you mean you get an error message?