Closed GoogleCodeExporter closed 9 years ago
seems like whatever number you were trying to call was invalid or you havent
setup
your phoneType correctly
Original comment by justquick
on 10 Dec 2009 at 11:31
On the GV website code == 20 get's replaced with an "Illegal Number" error
message string - this happens when
you try to call a malformatted (e.g., too short) number or try to call your
forwarding number.
Original comment by andreas.amann@gmail.com
on 11 Dec 2009 at 12:38
interesting. andreas: do you know where to find the complete listing of GV error
codes? If so, it would be incredibly useful for exception handling.
Original comment by justquick
on 11 Dec 2009 at 2:17
The codes are all inside the incredibly messy/compressed js source of GV. It
seems as if "20" is the only error
code that is actually used in this way - most errors seem to be transferred as
en error object in the JSON:
{'ok':False, 'error':'Error String'}
Original comment by andreas.amann@gmail.com
on 11 Dec 2009 at 4:32
Which js file are they located in? I cannot seem to find them at all
Original comment by justquick
on 11 Dec 2009 at 1:04
https://www.google.com/voice/resources/3058222619-gc_prod.js
"Invalid number" error is listed on line 346 which you get to from either line
369 or 464:
if(a.data&&a.data.code=="20")b=z3.Rm
Searching for ".code==" in that file reveals that code 20 currently is the only
one being used.
Original comment by andreas.amann@gmail.com
on 12 Dec 2009 at 5:31
gotcha. good to know for future reference. i will probably update the code soon
to
provide a better error message in this case. but in the mean time, time to
close this
ticket
Original comment by justquick
on 12 Dec 2009 at 5:00
Original issue reported on code.google.com by
vipki...@gmail.com
on 10 Dec 2009 at 9:58