Maximum 5k codes.
Additional Error Handling