GNSS and QuecLocator Error

I am trying to get to make error handling while getting GPS signal. so that if there is no GPS, I move to Queclocator commands to get LBS location.
the problem is that every time I do this the I get LBS error 707. and because queclocator uses HTTP I found that the error is “Network Failed to Open”.

NB: When I try to get LBS location without trying to get GPS it works.

Thanks in advance.

This is Urgent please!!!