return an error response when getting an error from gopro website