Yes, you would need to remove one of the ",%s" from line 88 when removing a column from the list. That is probably the only issue there.
It looks like FedEx isn't responding to the rate request at all. That usually means bad credentials in terms of the AccessKey or Password. If the failure was anywhere else it would at least give an error and in your case it is completely blank.