Rescue the code from the query params