You are very likely receiving an empty string from that API. Without any details given, we can’t help more than that.