getFData : try to catch error casting data to string