> Source: [sk171056](https://support.checkpoint.com/results/sk/sk171056)

# sk171056 - On Mobile Access Portal with DynamicID, the end user is not getting option "I didn't get the verification Code" on the page to resend the OTP

| Property | Value |
|----------|-------|
| Solution ID | sk171056 |
| Date Created | 2020-12-17 |
| Last Modified | 2020-12-17 |
| Technical Level | General |
| Products | Security Gateway |
| Versions | R82.10, R82, R81.20 |
| OS | Gaia |

## Symptoms

- * After upgrading the GAIA O.S to any latest version.
* Moving the Legacy Dashboard configuration to Unified Policy for Mobile Access Portal.

## Cause

Capture CVPND and verify the value for "maxResend".   
By default it should be 3. If it is 0, need to follow the solution.   

Non-Working logs  
\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
\[18825\]\[2 Dec 14:41:46\]\[AUTHNMAN\] \[CVPN_INFO\] Cvpn::AuthnManager::ContinueAuthVerifyCredsCb: Dynamic ID challenge response - otp required. Auth scheme number: 2  
\[18825\]\[2 Dec 14:41:46\]\[AU\] ..--\> dynamic_id_isResendAllowed  
\[18825\]\[2 Dec 14:41:46\]\[AU\] ...--\> DynamicIDManager::isResendAllowed  
\[18825\]\[2 Dec 14:41:46\]\[AU\] DynamicIDManager::isResendAllowed: DynamicID session state 103  
\[18825\]\[2 Dec 14:41:46\]\[AU\] DynamicIDManager::isResendAllowed: count 1, maxResend 0, resend not allowed  
\[18825\]\[2 Dec 14:41:46\]\[AU\] ...\<-- DynamicIDManager::isResendAllowed  
\[18825\]\[2 Dec 14:41:46\]\[AU\] ..\<-- dynamic_id_isResendAllowed  
\[18825\]\[2 Dec 14:41:46\]\[AUTHNMAN\] cvpn_auth_realm_is_resend_allowed: io_code is 0xdb00c5  
\[18825\]\[2 Dec 14:41:46\]\[AUTHNMAN\] cvpn_auth_realm_is_resend_allowed: is resend allowed - 0  
\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

## Solution

For this option to work, the 2 files are responsible:-  
a. dynamic_id.C   
b. cvpnd.C  
Files Location: /opt/CPshrd-R80.40/conf/  

While upgrading O.S or while changing configuration (Legacy to Unified), files might get overridden or some parameters did not take effect.   
Need to verify if the parameter ":smsMaxResendRetries" exists on both of the files .  

++If the parameter is missing in dynamic_id.C file, please add it manually.   
++The result of the file must be like attached below.   

\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
(  
:simulate_only (false)  
:util_path ("/bin/dynamic_id")  
:util_args ("")  
:util_proxy_args ("-x")  
:users_info_list ("/conf/dynamic_id_users_info.lst")  
:challenge_matcher_list ("/conf/dynamic_id_matcher.lst")  
:reuse_matcher_for_resend (true)  
**:smsMaxResendRetries (3)**   
)  
\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
