{"id":17966,"date":"2026-11-18T23:43:26","date_gmt":"2026-11-18T18:13:26","guid":{"rendered":"https:\/\/www.fast2sms.com\/help\/error-otp-expired-invalid-max-attempts\/"},"modified":"2026-11-19T00:48:20","modified_gmt":"2026-11-18T19:18:20","slug":"error-otp-expired-invalid-max-attempts","status":"publish","type":"post","link":"https:\/\/www.fast2sms.com\/help\/error-otp-expired-invalid-max-attempts\/","title":{"rendered":"Fast2SMS OTP errors: OTP expired, Invalid OTP, Maximum verification attempts"},"content":{"rendered":"<p>When the Fast2SMS Verify OTP API rejects a code, it says why: &#8220;OTP expired&#8221;, &#8220;Invalid OTP&#8221; or &#8220;Maximum verification attempts reached. OTP is no longer valid.&#8221; This page explains each of these three OTP verify errors, what the user should see, and which <a href=\"\/help\/smart-otp-setup-guide-fast2sms\/\">Smart OTP<\/a> setting controls them.<\/p>\n<aside class=\"f2s-cta\" aria-label=\"Get started with Fast2SMS\"><div class=\"f2s-cta__copy\"><strong class=\"f2s-cta__title\">OTP verification you control<\/strong><p>Set your own expiry and verify attempt limit with Fast2SMS Smart OTP.<\/p><\/div><div class=\"f2s-cta__actions\"><a class=\"f2s-cta__btn f2s-cta__btn--primary\" href=\"https:\/\/www.fast2sms.com\/\"><span>Sign up free<\/span> <span class=\"f2sh-btn__arrow\" aria-hidden=\"true\">&rarr;<\/span><\/a><a class=\"f2s-cta__btn f2s-cta__btn--ghost\" href=\"https:\/\/www.fast2sms.com\/meet\/\" target=\"_blank\" rel=\"noopener\">Book a free meeting<\/a><\/div><\/aside>\n<h2>The three errors<\/h2>\n<p>All three come from <code>\/dev\/otp\/verify<\/code> with HTTP 400:<\/p>\n<pre><code class=\"language-json\">{\"return\":false,\"status_code\":400,\"message\":\"OTP expired\"}\n{\"return\":false,\"status_code\":400,\"message\":\"Invalid OTP\"}\n{\"return\":false,\"status_code\":400,\"message\":\"Maximum verification attempts reached. OTP is no longer valid.\"}<\/code><\/pre>\n<div class=\"f2s-facts\">\n<table>\n<thead>\n<tr>\n<th>Message<\/th>\n<th>What it means<\/th>\n<th>What to do<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>OTP expired<\/td>\n<td>The OTP is older than the <code>otp_expiry<\/code> you set when sending it. The default is 15 minutes.<\/td>\n<td>Send a new OTP.<\/td>\n<\/tr>\n<tr>\n<td>Invalid OTP<\/td>\n<td>The code does not match. One attempt is used up.<\/td>\n<td>Let the user try again.<\/td>\n<\/tr>\n<tr>\n<td>Maximum verification attempts reached. OTP is no longer valid.<\/td>\n<td>Wrong tries reached your <strong>Max Verify OTP Limit<\/strong>. The OTP is locked.<\/td>\n<td>Send a new OTP.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<h2>Why each one happens<\/h2>\n<h3>OTP expired<\/h3>\n<p>Each OTP has an expiry in minutes, set by the <code>otp_expiry<\/code> parameter in the Send call (1 to 10080, default 15). If the user enters the code after that, it is refused even if it is correct. A short expiry, such as 2 minutes, causes this often when SMS reaches the user late.<\/p>\n<h3>Invalid OTP<\/h3>\n<p>The code is compared as exact text with the latest OTP sent to that number. Common causes:<\/p>\n<ul>\n<li>The user typed a wrong digit, or a space came in with a pasted code.<\/li>\n<li>A newer OTP was sent, and the user typed the older code. Every new send cancels older codes for that number.<\/li>\n<li>Your code turned the OTP into a number, so a code like <code>012345<\/code> became <code>12345<\/code>.<\/li>\n<\/ul>\n<h3>Maximum verification attempts reached<\/h3>\n<p>The setting <strong>Max Verify OTP Limit (Per SMS)<\/strong> in OTP Settings decides how many tries one OTP allows. It can be 1 to 100. If you never saved OTP Settings, it is 10. After the last try, the OTP stops working.<\/p>\n<h2>How to fix and tune it<\/h2>\n<ol class=\"f2s-steps\">\n<li>\n<h3>Check your verify limit<\/h3>\n<p>Open <strong>Smart OTP<\/strong>, then <strong>OTP Settings<\/strong>. Set <strong>Max Verify OTP Limit (Per SMS)<\/strong> to a number that fits your users, for example 5, and click <strong>Save Settings<\/strong>.<\/p>\n<figure class=\"f2s-shot\"><img src=\"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/smart-otp-settings-hd-2-scaled.webp\" width=\"1440\" height=\"900\" loading=\"lazy\" decoding=\"async\" alt=\"Smart OTP OTP Settings page with Max Verify OTP Limit (Per SMS) set to 5 and SMS Resend \/ Time Limit set to 30 seconds\"><figcaption>Max Verify OTP Limit sets the number of tries per OTP.<\/figcaption><\/figure>\n<\/li>\n<li>\n<h3>Set a sensible expiry when you send<\/h3>\n<p>Pass <code>otp_expiry<\/code> in minutes in the Send call. 5 to 15 minutes works for most login flows.<\/p>\n<\/li>\n<li>\n<h3>Clean the code before you verify<\/h3>\n<p>Remove spaces and keep the OTP as text. Send it as a string field <code>otp<\/code> together with the same <code>mobile<\/code> you used for Send.<\/p>\n<\/li>\n<\/ol>\n<h2>Code check<\/h2>\n<pre><code class=\"language-php\">$code = preg_replace('\/\\s+\/', '', $_POST['otp']);   \/\/ keep as string\n$ch = curl_init(\"https:\/\/www.fast2sms.com\/dev\/otp\/verify\");\ncurl_setopt_array($ch, [\n  CURLOPT_POST => true, CURLOPT_RETURNTRANSFER => true,\n  CURLOPT_HTTPHEADER => [\"authorization: YOUR_API_KEY\", \"Content-Type: application\/json\"],\n  CURLOPT_POSTFIELDS => json_encode([\"mobile\" => \"9999999999\", \"otp\" => $code]),\n]);\n$res = json_decode(curl_exec($ch), true);\n$msg = $res['message'] ?? '';\nif ($msg === 'Invalid OTP') { \/* \"Wrong code, try again\" *\/ }\nelseif ($msg === 'OTP expired' || str_starts_with($msg, 'Maximum verification')) {\n  \/* \"Code no longer valid. Tap Send code for a new one.\" *\/\n}<\/code><\/pre>\n<aside class=\"f2s-cta\" aria-label=\"Get started with Fast2SMS\"><div class=\"f2s-cta__copy\"><strong class=\"f2s-cta__title\">Build a secure OTP login<\/strong><p>Sign up for Fast2SMS and verify users with Smart OTP on SMS and WhatsApp.<\/p><\/div><div class=\"f2s-cta__actions\"><a class=\"f2s-cta__btn f2s-cta__btn--primary\" href=\"https:\/\/www.fast2sms.com\/\"><span>Sign up free<\/span> <span class=\"f2sh-btn__arrow\" aria-hidden=\"true\">&rarr;<\/span><\/a><a class=\"f2s-cta__btn f2s-cta__btn--ghost\" href=\"https:\/\/www.fast2sms.com\/meet\/\" target=\"_blank\" rel=\"noopener\">Book a free meeting<\/a><\/div><\/aside>\n<h2>How to avoid these errors<\/h2>\n<ul>\n<li>Do not send a new OTP while the user is still typing the last one.<\/li>\n<li>Show how many minutes the code is valid for on the code screen.<\/li>\n<li>Tell the user clearly when they must request a new code, and offer the button right there.<\/li>\n<li>Do not set the verify limit to 1 unless you really need it. One typing mistake would lock the code.<\/li>\n<\/ul>\n<section class=\"f2s-faq\">\n<h2>Frequently asked questions<\/h2>\n<h3>How long is a Fast2SMS OTP valid?<\/h3>\n<p>15 minutes by default. You can set 1 to 10080 minutes with <code>otp_expiry<\/code> in each Send call.<\/p>\n<h3>How many wrong tries are allowed?<\/h3>\n<p>10 by default. You can set 1 to 100 in OTP Settings under Max Verify OTP Limit.<\/p>\n<h3>Can a locked OTP be used again after too many tries?<\/h3>\n<p>No. Send a new OTP. The locked one stays invalid.<\/p>\n<h3>Why does a correct code say Invalid OTP?<\/h3>\n<p>Usually a newer OTP was sent to the same number, so only the newest code works. Also check that no spaces or lost leading zeros changed the code.<\/p>\n<h3>Does a wrong attempt cost money?<\/h3>\n<p>No message is sent during verify. Charges apply to OTP sends and resends.<\/p>\n<\/section>\n<aside class=\"f2s-cta\" aria-label=\"Get started with Fast2SMS\"><div class=\"f2s-cta__copy\"><strong class=\"f2s-cta__title\">Try Smart OTP today<\/strong><p>Create your Fast2SMS account and send your first OTP with your own template.<\/p><\/div><div class=\"f2s-cta__actions\"><a class=\"f2s-cta__btn f2s-cta__btn--primary\" href=\"https:\/\/www.fast2sms.com\/\"><span>Sign up free<\/span> <span class=\"f2sh-btn__arrow\" aria-hidden=\"true\">&rarr;<\/span><\/a><a class=\"f2s-cta__btn f2s-cta__btn--ghost\" href=\"https:\/\/www.fast2sms.com\/meet\/\" target=\"_blank\" rel=\"noopener\">Book a free meeting<\/a><\/div><\/aside>\n<h2>Related guides<\/h2>\n<ul>\n<li><a href=\"\/help\/smart-otp-verify-otp-api\/\">Fast2SMS Verify OTP API: how OTP verification works (with code)<\/a><\/li>\n<li><a href=\"\/help\/smart-otp-settings-cooldown-attempts\/\">Smart OTP settings: resend wait time and max verify attempts<\/a><\/li>\n<li><a href=\"\/help\/smart-otp-best-practices\/\">OTP security best practices with Fast2SMS (expiry, attempts, rate limits)<\/a><\/li>\n<li><a href=\"\/help\/fast2sms-api-error-codes\/\">Fast2SMS API error codes: what each one means and how to fix it<\/a><\/li>\n<li><a href=\"https:\/\/www.fast2sms.com\/otp-sms\">Fast2SMS OTP<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>When the Fast2SMS Verify OTP API rejects a code, it says why: &#8220;OTP expired&#8221;, &#8220;Invalid OTP&#8221; or &#8220;Maximum verification attempts reached. OTP is no longer valid.&#8221; This page explains each of these three OTP verify errors, what the user should see, and which Smart OTP setting controls them. The three errors All three come from [&hellip;]<\/p>\n","protected":false},"featured_media":17965,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,5],"tags":[],"class_list":["post-17966","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-api","category-otp"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>OTP expired, Invalid OTP, max attempts: fixes | Fast2SMS<\/title>\n<meta name=\"description\" content=\"Fast2SMS Verify OTP says OTP expired, Invalid OTP or Maximum verification attempts reached? See what each means, the settings behind them and the fix.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.fast2sms.com\/help\/error-otp-expired-invalid-max-attempts\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"OTP expired, Invalid OTP, max attempts: fixes | Fast2SMS\" \/>\n<meta property=\"og:description\" content=\"Fast2SMS Verify OTP says OTP expired, Invalid OTP or Maximum verification attempts reached? See what each means, the settings behind them and the fix.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.fast2sms.com\/help\/error-otp-expired-invalid-max-attempts\/\" \/>\n<meta property=\"og:site_name\" content=\"Fast2SMS\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Fast2SMS\/\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-18T18:13:26+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-18T19:18:20+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/smart-otp-settings-hd-2-scaled.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"2560\" \/>\n\t<meta property=\"og:image:height\" content=\"1600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@fast2sms\" \/>\n<meta name=\"twitter:site\" content=\"@fast2sms\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/error-otp-expired-invalid-max-attempts\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/error-otp-expired-invalid-max-attempts\\\/\"},\"author\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/#organization\"},\"headline\":\"Fast2SMS OTP errors: OTP expired, Invalid OTP, Maximum verification attempts\",\"datePublished\":\"2026-11-18T18:13:26+00:00\",\"dateModified\":\"2026-11-18T19:18:20+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/error-otp-expired-invalid-max-attempts\\\/\"},\"wordCount\":711,\"publisher\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/error-otp-expired-invalid-max-attempts\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/smart-otp-settings-hd-2-scaled.webp\",\"articleSection\":[\"API\",\"OTP\"],\"inLanguage\":\"en-IN\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/error-otp-expired-invalid-max-attempts\\\/\",\"url\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/error-otp-expired-invalid-max-attempts\\\/\",\"name\":\"OTP expired, Invalid OTP, max attempts: fixes | Fast2SMS\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/error-otp-expired-invalid-max-attempts\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/error-otp-expired-invalid-max-attempts\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/smart-otp-settings-hd-2-scaled.webp\",\"datePublished\":\"2026-11-18T18:13:26+00:00\",\"dateModified\":\"2026-11-18T19:18:20+00:00\",\"description\":\"Fast2SMS Verify OTP says OTP expired, Invalid OTP or Maximum verification attempts reached? See what each means, the settings behind them and the fix.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/error-otp-expired-invalid-max-attempts\\\/#breadcrumb\"},\"inLanguage\":\"en-IN\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/error-otp-expired-invalid-max-attempts\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-IN\",\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/error-otp-expired-invalid-max-attempts\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/smart-otp-settings-hd-2-scaled.webp\",\"contentUrl\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/smart-otp-settings-hd-2-scaled.webp\",\"width\":2560,\"height\":1600,\"caption\":\"Smart OTP OTP Settings page with Max Verify OTP Limit (Per SMS) set to 5 and SMS Resend \\\/ Time Limit set to 30 seconds\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/error-otp-expired-invalid-max-attempts\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"API\",\"item\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/api\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Fast2SMS OTP errors: OTP expired, Invalid OTP, Maximum verification attempts\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/#website\",\"url\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/\",\"name\":\"Fast2SMS\",\"description\":\"Help\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/#organization\"},\"inLanguage\":\"en-IN\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/#organization\",\"name\":\"Fast2SMS\",\"url\":\"https:\\\/\\\/www.fast2sms.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/#logo\",\"url\":\"https:\\\/\\\/www.fast2sms.com\\\/Fast2SMS.png\",\"contentUrl\":\"https:\\\/\\\/www.fast2sms.com\\\/Fast2SMS.png\",\"caption\":\"Fast2SMS\"},\"image\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/#logo\"},\"email\":\"support@fast2sms.com\",\"telephone\":\"+91-6262778822\",\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/Fast2SMS\",\"https:\\\/\\\/www.instagram.com\\\/fast2sms\",\"https:\\\/\\\/x.com\\\/fast2sms\",\"https:\\\/\\\/www.youtube.com\\\/Fast2SMSofficial\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/fast2sms\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"OTP expired, Invalid OTP, max attempts: fixes | Fast2SMS","description":"Fast2SMS Verify OTP says OTP expired, Invalid OTP or Maximum verification attempts reached? See what each means, the settings behind them and the fix.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.fast2sms.com\/help\/error-otp-expired-invalid-max-attempts\/","og_locale":"en_US","og_type":"article","og_title":"OTP expired, Invalid OTP, max attempts: fixes | Fast2SMS","og_description":"Fast2SMS Verify OTP says OTP expired, Invalid OTP or Maximum verification attempts reached? See what each means, the settings behind them and the fix.","og_url":"https:\/\/www.fast2sms.com\/help\/error-otp-expired-invalid-max-attempts\/","og_site_name":"Fast2SMS","article_publisher":"https:\/\/www.facebook.com\/Fast2SMS\/","article_published_time":"2026-11-18T18:13:26+00:00","article_modified_time":"2026-11-18T19:18:20+00:00","og_image":[{"width":2560,"height":1600,"url":"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/smart-otp-settings-hd-2-scaled.webp","type":"image\/webp"}],"twitter_card":"summary_large_image","twitter_creator":"@fast2sms","twitter_site":"@fast2sms","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.fast2sms.com\/help\/error-otp-expired-invalid-max-attempts\/#article","isPartOf":{"@id":"https:\/\/www.fast2sms.com\/help\/error-otp-expired-invalid-max-attempts\/"},"author":{"@id":"https:\/\/www.fast2sms.com\/#organization"},"headline":"Fast2SMS OTP errors: OTP expired, Invalid OTP, Maximum verification attempts","datePublished":"2026-11-18T18:13:26+00:00","dateModified":"2026-11-18T19:18:20+00:00","mainEntityOfPage":{"@id":"https:\/\/www.fast2sms.com\/help\/error-otp-expired-invalid-max-attempts\/"},"wordCount":711,"publisher":{"@id":"https:\/\/www.fast2sms.com\/#organization"},"image":{"@id":"https:\/\/www.fast2sms.com\/help\/error-otp-expired-invalid-max-attempts\/#primaryimage"},"thumbnailUrl":"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/smart-otp-settings-hd-2-scaled.webp","articleSection":["API","OTP"],"inLanguage":"en-IN"},{"@type":"WebPage","@id":"https:\/\/www.fast2sms.com\/help\/error-otp-expired-invalid-max-attempts\/","url":"https:\/\/www.fast2sms.com\/help\/error-otp-expired-invalid-max-attempts\/","name":"OTP expired, Invalid OTP, max attempts: fixes | Fast2SMS","isPartOf":{"@id":"https:\/\/www.fast2sms.com\/help\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.fast2sms.com\/help\/error-otp-expired-invalid-max-attempts\/#primaryimage"},"image":{"@id":"https:\/\/www.fast2sms.com\/help\/error-otp-expired-invalid-max-attempts\/#primaryimage"},"thumbnailUrl":"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/smart-otp-settings-hd-2-scaled.webp","datePublished":"2026-11-18T18:13:26+00:00","dateModified":"2026-11-18T19:18:20+00:00","description":"Fast2SMS Verify OTP says OTP expired, Invalid OTP or Maximum verification attempts reached? See what each means, the settings behind them and the fix.","breadcrumb":{"@id":"https:\/\/www.fast2sms.com\/help\/error-otp-expired-invalid-max-attempts\/#breadcrumb"},"inLanguage":"en-IN","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.fast2sms.com\/help\/error-otp-expired-invalid-max-attempts\/"]}]},{"@type":"ImageObject","inLanguage":"en-IN","@id":"https:\/\/www.fast2sms.com\/help\/error-otp-expired-invalid-max-attempts\/#primaryimage","url":"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/smart-otp-settings-hd-2-scaled.webp","contentUrl":"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/smart-otp-settings-hd-2-scaled.webp","width":2560,"height":1600,"caption":"Smart OTP OTP Settings page with Max Verify OTP Limit (Per SMS) set to 5 and SMS Resend \/ Time Limit set to 30 seconds"},{"@type":"BreadcrumbList","@id":"https:\/\/www.fast2sms.com\/help\/error-otp-expired-invalid-max-attempts\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.fast2sms.com\/help\/"},{"@type":"ListItem","position":2,"name":"API","item":"https:\/\/www.fast2sms.com\/help\/api\/"},{"@type":"ListItem","position":3,"name":"Fast2SMS OTP errors: OTP expired, Invalid OTP, Maximum verification attempts"}]},{"@type":"WebSite","@id":"https:\/\/www.fast2sms.com\/help\/#website","url":"https:\/\/www.fast2sms.com\/help\/","name":"Fast2SMS","description":"Help","publisher":{"@id":"https:\/\/www.fast2sms.com\/#organization"},"inLanguage":"en-IN"},{"@type":"Organization","@id":"https:\/\/www.fast2sms.com\/#organization","name":"Fast2SMS","url":"https:\/\/www.fast2sms.com\/","logo":{"@type":"ImageObject","@id":"https:\/\/www.fast2sms.com\/#logo","url":"https:\/\/www.fast2sms.com\/Fast2SMS.png","contentUrl":"https:\/\/www.fast2sms.com\/Fast2SMS.png","caption":"Fast2SMS"},"image":{"@id":"https:\/\/www.fast2sms.com\/#logo"},"email":"support@fast2sms.com","telephone":"+91-6262778822","sameAs":["https:\/\/www.facebook.com\/Fast2SMS","https:\/\/www.instagram.com\/fast2sms","https:\/\/x.com\/fast2sms","https:\/\/www.youtube.com\/Fast2SMSofficial","https:\/\/www.linkedin.com\/company\/fast2sms"]}]}},"_links":{"self":[{"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/posts\/17966","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/comments?post=17966"}],"version-history":[{"count":1,"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/posts\/17966\/revisions"}],"predecessor-version":[{"id":19314,"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/posts\/17966\/revisions\/19314"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/media\/17965"}],"wp:attachment":[{"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/media?parent=17966"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/categories?post=17966"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/tags?post=17966"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}