Skip to main content

Errors & Warnings

Most common errors (Logins)

Below you will find a table with common errors when trying to connect an account to a platform (Uber, Rappi, IMSS, etc.).

Error CodeHTTP CodeDescription
missing_api_key401The x-api-key header is currently missing. Try again including the x-api-key header.
invalid_api_key401The API key is invalid. Try again with a valid API Key.
bad_request422The request was not valid, often due to missing a required parameter. Please, review your request and make sure all parameters are correct.
invalid_credentials401The login credentials provided are invalid. Please, ask the user to try again with valid credentials.
platform_unavailable503The platform is currently unavailable. Please, try again later or contact support.
too_many_requests429This is mostly common with the IMSS and ISSSTE platforms. We recommend you attempt to login with the user’s credentials the following day.
service_unavailable503The service is currently unavailable. Please, try again later or contact support.
request_timeout504The login failed due to a timeout. Please, try again later or contact support.
curp_has_inconsistencies403This error relates to the IMSS platform. The CURP is not valid or has inconsistencies. Please, ask the user to go to the closest IMSS's facility to resolve it.
platform_error422There was an error with the platform. Please, try again later or contact support.
invalid_otp401The OTP provided is invalid. Please, ask the user to try again with a valid OTP.
expired_otp401The OTP provided is expired. Please, ask the user to try again with a valid OTP.
email_not_validated400The email used is not validated. Please verify your email within the app to proceed. Once verified, you can try again.
invalid_phone_number422The phone number provided is invalid. Please, ask the user to try again with a valid phone number.
invalid_email422The phone number provided is invalid. Please, ask the user to try again with a email address.
lambda_error503There was an error with the platform. Please, try again later or contact support.
login_refused (formerly login_not_available)400This error is mostly common in Uber. It occurs when Uber blocks a login attempt. In this case, please ask the user to try to login again after 30 minutes.
invalid_otp_auth_key401There was an error with the platform. Please, try again later or contact support.
curp_not_found404The CURP was not found. Please, ask the user to go to their closest IMSS's facility to resolve it.
could_not_send_otp401There was an error sending the OTP code. Please, ask the user to try resending the OTP code again.
unable_to_get_performance403There was an error with the platform. Please, try again later or contact support.
recent_login_successful412The account successfully logged in less than 12 hours ago.
missing_social_security_number403The user does not have a social security number in IMSS's database. Please, ask the user to go to their closest IMSS's facility to resolve it.
social_security_number_mismatch503There appears to be a mismatch between the user's CURP and their social security number. Please, ask the user to go to their closest IMSS's facility to resolve it.
curp_not_in_platform401Verify that the CURP is correct. If the CURP is correct and you work in a department or entity affiliated with ISSSTE, go to the Human Resources area of your workplace to request that they verify your registration in the ISSSTE system.
nss_not_found_in_imss404The NSS was not found in IMSS. Please, ask the user to go to their closest IMSS's facility to resolve it.
invalid_nss401Invalid NSS status. Please, ask the user to go to their closest IMSS's facility to resolve it.
invalid_otp_session401There was an error with the platform. Please, try again later or contact support.
renapo_unavailable400The CURP was not found in Renapo. an error with the platform. Please ask the user to go to the nearest IMSS office to resolve it.

Complete error list

Error CodeHTTP CodeDescription
missing_api_key401The x-api-key header is not present. Try again using the x-api-key header.
invalid_api_key401The API key is invalid, try again using a valid API key.
bad_request422The request is not valid, often because a required parameter is missing. Please review your request and ensure that all parameters are correct
invalid_credentials401The provided login credentials are not valid. Please ask the user to try again with valid credentials
invalid_otp401The provided OTP is not valid. Please ask the user to try again with a valid OTP
expired_otp401The provided OTP has expired. Please ask the user to try again with a valid OTP
email_not_validated400The email used is not validated. Please verify your email within the app to proceed. Once verified, you can try again.
invalid_phone_number422The provided phone number is not valid. Please ask the user to try again with a valid phone number
invalid_email422The provided phone number is not valid. Please ask the user to try again with a valid email address
login_refused400This error is common with Uber. It occurs when Uber blocks a login attempt. In this case, ask the user to try logging in again after 30 minutes
curp_not_found404The CURP was not found. Please ask the user to go to their nearest IMSS establishment to resolve it.
could_not_send_otp401There was an error sending the OTP code. Please ask the user to try resending the OTP code.
unable_to_get_performance403There was an error with the platform. Please try again later or contact support.
recent_login_successful412The account logged in successfully less than 12 hours ago.
invalid_curp401The CURP has an invalid format.
not_available_in_platform401The CURP is not registered on the platform.
service_degradation400Some platform services are degraded. In the case of IMSS, it is usually their electronic mail service
proxy_max_retries_exeeded400We have reached the maximum number of attempts to the platform.
curp_has_inconsistencies403This error is related to the IMSS platform. The CURP is not valid or has inconsistencies. Please ask the user to go to the nearest IMSS establishment to resolve it
platform_unavailable503The platform is not available at the moment. Please try again later or contact support
too_many_requests429This is more common with IMSS and ISSSTE platforms. We recommend that you try logging in with the user's credentials the next day
service_unavailable503The service is not available at the moment. Please try again later or contact support
request_timeout504The login failed due to a timeout. Please try again later or contact support
curp_has_inconsistencies403This error is related to the IMSS platform. The CURP is not valid or has inconsistencies. Please ask the user to go to the nearest IMSS establishment to resolve it
platform_error422There was an error with the platform. Please try again later or contact support
lambda_error503There was an error with the platform. Please try again later or contact support.
curp_not_found404The CURP was not found. Please ask the user to go to their nearest IMSS establishment to resolve it.
missing_social_security_number403The user does not have a social security number in the IMSS database. Please ask the user to go to their nearest IMSS establishment to resolve it
social_security_number_mismatch503There seems to be a discrepancy between the user's CURP and their social security number. Please ask the user to go to their nearest IMSS establishment to resolve it
curp_not_in_platform401Check that the CURP is correct. If the CURP is correct and you work in a department or entity affiliated with ISSSTE, go to the Human Resources area of your workplace to request that they verify your registration in the ISSSTE system
nss_not_found_in_imss404The NSS was not found in the IMSS. Please ask the user to go to their nearest IMSS establishment to resolve it
invalid_nss401Invalid NSS status. Please ask the user to go to their nearest IMSS establishment to resolve it.
renapo_unavailable400The CURP was not found in Renapo. There is an error with the platform. Please ask the user to go to the nearest IMSS office to resolve it
invalid_schema_response503The IMSS has changed its response scheme.
pending_for_data400The data extraction is pending. This error can remain permanent in cases where the IMSS or ISSSTE portal is degraded.
zero_quoted_weeks200The worker does not have weeks of contributions in the IMSS.
curp_not_in_platform401The CURP is not registered on the platform.
proxy_max_retries_exceeded400We have made several requests to the IMSS for the same CURP and they have blocked us.
validation_time_expired422The validation time of a process has expired
invalid_otp_auth_key401The provided OTP authentication code is not valid
invalid_otp_session401The OTP session is not valid
not_registered401The user is not registered.
timeout504The operation has exceeded the time limit
invalid_password401The provided password is not valid
unable_to_get_uber_metrics403Uber metrics cannot be recovered
reauthentication_required401Re-authentication is required
failed_refresh401The update process has failed
account_setup_incomplete422The account setup is incomplete
platform_unknown_error503An unknown error occurred on the platform.
unauthorized_error401Unauthorized access error.
session_not_found401Session not found
access_token_not_generated424The access token has not been generated
unknown_login_type422Unknown type of login
account_banned_from_platform422The account is banned from the platform.
business_error400Error related to business logic.
login_not_completed400The login process has not been completed
connection_error400An error occurred while establishing a connection.
curp_not_found_in_renapo404CURP (Unique Population Registration Code) is not found in the national registry.
not_found_error404Resource or information not found
employment_info_not_found404Resource or information not found
cdt_first_access404Resource or information not found
no_emails_received400The account has not received any email
pdf_not_received400The PDF document has not been received.
confirmation_url_not_found400Confirmation URL not found
forbidden_error403The API key does not have permission to make the request
login_in_process400Login in progress
entity_not_found404There is no previous login for the account.
read_permissions_disabled401Information recovery is disabled for this company.
write_permissions_disabled401Account creation is disabled for this company.
already_connected403The user is already connected
account_not_in_gig_platform400Account is not on a Gig platform
schema_parse_error503Error analyzing the platform's response
failed_to_encrypt_data400Error decrypting data
missing_login400Login not provided
inactive_user400The user is inactive
transaction_not_sent400Transaction not sent
max_transactions_exceeded400Maximum transactions exceeded
operation_not_recognized400Operation not recognized
operation_not_sent400Operation not sent
option_deactivated400Option disabled
matricula_not_provided400Matriculation not provided
rfc_not_provided400RFC not provided
nomina_not_provided400Payroll not provided
clave_descuento_not_provided400Discount code not provided
employee_has_no_margin400The employee has no margin
invalid_matricula_rfc_fondos400Matriculation, RFC or funds are not valid
invalid_rfc401The RFC format is not valid
unable_to_generate_insights_pdf503Insights PDF cannot be generated

Testing error scenarios

Error scenarios could happen in different parts of the flow, they could happen:

  • Before Login
  • Before Validation
  • After Validation

You would be able to reproduce each of the listed errors below by requesting either account creation or account validation endpoints.

  1. Generate a Valid Request:

You can use the following cURL command to create a request for replicating Uber, DiDi, DiDi Food or Noventa Nove error scenarios.

Before account creation

curl -x POST 'https://sandbox.palenca.com/v1/accounts' \
--header 'X-API-Key: your_valid_private_api_key' \
--header 'Content-Type: application/json' \
--data-raw '{
"identifier": "login_refused@palenca.com",
"platform": "uber",
"country": "mx",
"user_id": "you_previously_generated_user_id"
}'

# response
{
"success": false,
"error": {
"code": "login_refused",
"message": "Login refused",
"errors": null
},
"data": null
}

Before account validation


curl -x POST 'https://sandbox.palenca.com/v1/accounts/your_previously_created_account_id/validate' \
--header 'X-API-Key: your_valid_private_api_key' \
--header 'Content-Type: application/json' \
--data '{
"password": "S3rvic3Un4v41l4bl3"
}'

# response
{
"success": false,
"error": {
"code": "service_unavailable",
"message": "Service is unavailable",
"errors": null
},
"data": null
}

After account validation


curl -x POST 'https://sandbox.palenca.com/v1/accounts/your_previously_created_account_id/validate' \
--header 'X-API-Key: your_valid_private_api_key' \
--header 'Content-Type: application/json' \
--data '{
"otp_code": "9998"
}'

# response
{
"success": false,
"error": {
"code": "unable_to_get_uber_metrics",
"message": "Unable to get metrics from Uber",
"errors": null
},
"data": null
}

When testing your integration with the Uber and Didi platforms, it's essential to simulate various scenarios, including different identifier, otp_code or password values. Below is a table illustrating how to rotate the parameters in the cURL command for common error scenarios.

Uber Examples

Error ScenarioParameter in requestWhen is triggered
Login Refusedlogin_refused@palenca.comBefore Login
Invalid Credentialsinvalid_credentials@palenca.comBefore Login
Platform Errorplatform_error@palenca.comBefore Login
Service Unavailablelogin_refused@palenca.comBefore Login
Invalid OTP Session9991Before Validation
Not Registered9992Before Validation
Invalid OTP9993Before Validation
Not RegisteredUberN0tR3gister3d0! ( using password field)Before Validation
Too Many Requests9994Before Validation
Too Many RequestsT00M4ny0R3qu3st0! ( using password field)Before Validation
Service Unavailable9995Before Login
Request Timeout9996Before Validation
Invalid In Auth Session ID9997Before Validation
Invalid In Auth Session IDInv4lid5e551on! ( using password field)Before Validation
Invalid PasswordP455wr0n6 ( using password field)Before Validation
Unable to Get Uber Metrics9998After Validation
Unable to Get Uber MetricsUberUnabletoGetMetrics0! ( using password field)After Validation

Didi, DiDi Food and Noventa Nove Examples

Error ScenarioParameter in requestWhen is triggered
Invalid Emailinvalid_email@palenca.comBefore Login
Invalid Phone8881Before Login
Expired OTP8882Before Validation
Invalid OTP8883Before Validation
Password MissingM11551n6 ( using password field)Before Validation
Too Many Requests8884Before Validation
Platform Error8885Before Validation
Platform ErrorDiDiPl4tformErr0r!( using password field)Before Validation

Common Warnings (Accounts)

A warning is triggered when a connection to an account was successful but there is some factor that prevents obtaining employment or income data. These warnings can be seen in the Palenca Console. For example:

img.png

The following table shows the most common warnings.

WarningPlatformsDescription
bannedGig economyThe worker is banned from the platform.
not_registeredGig economyThe worker is not registered on the platform.
curp_not_in_platformIMSS and ISSSTEThe CURP is not registered on the platform.
zero_quoted_weeksIMSS and ISSSTEThe worker does not have weeks paid into the IMSS.
rider_accountGig economyThe user is not registered as a driver with Uber, Didi, Indriver, etc.