Fixed a nil pointer error when the 511 API returns an error