You might have a CORS issue. My understanding is that access control allow origin is set on the server, not in a request. That's like going to a door that is locked to keep out strangers and a stranger walking up and asking to have the door unlocked.
Or slight possibility your text object is not large enough to fit the text as a single line so it doesn't show it.