Your issue is related to the same one found here: Insufficient prepaid funds or MMS blocked.
As Chris mentioned:
We need to collect specific examples from you of this happening on WiFi so our engineers can see what is happening on the network side. We do not have the ability to securely collect that information from you here on a public forum so we would need you to call us for that.
Manage your T-Mobile account