<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Urgent: Issue with OTP Verification - Error Code 40001 in Developer Forum</title>
    <link>https://community.sinch.com/t5/Developer-Forum/Urgent-Issue-with-OTP-Verification-Error-Code-40001/m-p/14097#M50</link>
    <description>&lt;P&gt;Hello pavanipalvai,&lt;BR /&gt;&lt;BR /&gt;Thank you for reaching out and I'm sorry to hear you're experiencing issues. Can you provide what method you are using to make the Verification request, i.e. using one of the native application SDKs or the REST API, as well as a sample of the code?&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;/P&gt;</description>
    <pubDate>Tue, 20 Feb 2024 14:13:27 GMT</pubDate>
    <dc:creator>Alex_Sberna</dc:creator>
    <dc:date>2024-02-20T14:13:27Z</dc:date>
    <item>
      <title>Urgent: Issue with OTP Verification - Error Code 40001</title>
      <link>https://community.sinch.com/t5/Developer-Forum/Urgent-Issue-with-OTP-Verification-Error-Code-40001/m-p/14093#M46</link>
      <description>&lt;P&gt;We are currently experiencing an issue with OTP verification in our application. We got the following response.&lt;/P&gt;&lt;P&gt;Error Details:&lt;BR /&gt;- Error Code: 40001&lt;BR /&gt;- Message: "The JSON value could not be converted to System.String. Path: $.sms.code | LineNumber: 0 | BytePositionInLine: 34."&lt;BR /&gt;- Reference IDs Affected:&lt;BR /&gt;1. d974cb24-66ed-4eb8-9d6c-44cb827ac9da&lt;BR /&gt;2. 705b9d53-5f48-4e53-be1c-dfa83fddbc98&lt;BR /&gt;3. c26aa131-d9c4-4625-b137-1ee353767a4a&lt;/P&gt;&lt;P&gt;This error is hindering the OTP verification process, and we are unable to proceed with user authentication. We kindly request your prompt attention to investigate and resolve this issue.&lt;/P&gt;&lt;P&gt;Please let us know if there is any additional information or logs required from our end to assist in the resolution process&lt;/P&gt;</description>
      <pubDate>Mon, 19 Feb 2024 16:30:47 GMT</pubDate>
      <guid>https://community.sinch.com/t5/Developer-Forum/Urgent-Issue-with-OTP-Verification-Error-Code-40001/m-p/14093#M46</guid>
      <dc:creator>pavanipalvai</dc:creator>
      <dc:date>2024-02-19T16:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent: Issue with OTP Verification - Error Code 40001</title>
      <link>https://community.sinch.com/t5/Developer-Forum/Urgent-Issue-with-OTP-Verification-Error-Code-40001/m-p/14097#M50</link>
      <description>&lt;P&gt;Hello pavanipalvai,&lt;BR /&gt;&lt;BR /&gt;Thank you for reaching out and I'm sorry to hear you're experiencing issues. Can you provide what method you are using to make the Verification request, i.e. using one of the native application SDKs or the REST API, as well as a sample of the code?&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2024 14:13:27 GMT</pubDate>
      <guid>https://community.sinch.com/t5/Developer-Forum/Urgent-Issue-with-OTP-Verification-Error-Code-40001/m-p/14097#M50</guid>
      <dc:creator>Alex_Sberna</dc:creator>
      <dc:date>2024-02-20T14:13:27Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent: Issue with OTP Verification - Error Code 40001</title>
      <link>https://community.sinch.com/t5/Developer-Forum/Urgent-Issue-with-OTP-Verification-Error-Code-40001/m-p/14125#M51</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I am using the REST API method for the Verification request. Below is a sample of the code I am using:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;let&lt;/SPAN&gt; data = &lt;SPAN class=""&gt;JSON&lt;/SPAN&gt;.&lt;SPAN class=""&gt;stringify&lt;/SPAN&gt;({ &lt;SPAN class=""&gt;"method"&lt;/SPAN&gt;: &lt;SPAN class=""&gt;"sms"&lt;/SPAN&gt;, &lt;SPAN class=""&gt;"sms"&lt;/SPAN&gt;: { &lt;SPAN class=""&gt;"code"&lt;/SPAN&gt;: otpCode } });&lt;BR /&gt;&lt;SPAN class=""&gt;let&lt;/SPAN&gt; configuration = {&lt;BR /&gt;&lt;SPAN class=""&gt;method&lt;/SPAN&gt;: &lt;SPAN class=""&gt;'put'&lt;/SPAN&gt;, &lt;SPAN class=""&gt;maxBodyLength&lt;/SPAN&gt;: &lt;SPAN class=""&gt;Infinity&lt;/SPAN&gt;,&lt;BR /&gt;&lt;SPAN class=""&gt;url&lt;/SPAN&gt;: &lt;SPAN class=""&gt;`&lt;SPAN class=""&gt;${sinchApiUrl}&lt;/SPAN&gt;/id/&lt;SPAN class=""&gt;${referenceId}&lt;/SPAN&gt;`&lt;/SPAN&gt;,&lt;BR /&gt;&lt;SPAN class=""&gt;headers&lt;/SPAN&gt;: { &lt;SPAN class=""&gt;'Content-Type'&lt;/SPAN&gt;: &lt;SPAN class=""&gt;'application/json'&lt;/SPAN&gt;, &lt;SPAN class=""&gt;'Authorization'&lt;/SPAN&gt;: &lt;SPAN class=""&gt;`Basic &lt;SPAN class=""&gt;${authToken}&lt;/SPAN&gt;`&lt;/SPAN&gt; }, &lt;SPAN class=""&gt;data&lt;/SPAN&gt;: data };&lt;BR /&gt;&lt;SPAN class=""&gt;let&lt;/SPAN&gt; result;&lt;BR /&gt;&lt;SPAN class=""&gt;await&lt;/SPAN&gt; axios.&lt;SPAN class=""&gt;request&lt;/SPAN&gt;(configuration) .&lt;SPAN class=""&gt;then&lt;/SPAN&gt;(&lt;SPAN class=""&gt;(&lt;SPAN class=""&gt;response&lt;/SPAN&gt;) =&amp;gt;&lt;/SPAN&gt; {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;result = response.&lt;SPAN class=""&gt;data&lt;/SPAN&gt;;&lt;BR /&gt;}).&lt;SPAN class=""&gt;catch&lt;/SPAN&gt;(&lt;SPAN class=""&gt;(&lt;/SPAN&gt;);&lt;BR /&gt;&lt;BR /&gt;Note: We are not facing this error for every request.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2024 06:20:14 GMT</pubDate>
      <guid>https://community.sinch.com/t5/Developer-Forum/Urgent-Issue-with-OTP-Verification-Error-Code-40001/m-p/14125#M51</guid>
      <dc:creator>pavanipalvai</dc:creator>
      <dc:date>2024-02-22T06:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent: Issue with OTP Verification - Error Code 40001</title>
      <link>https://community.sinch.com/t5/Developer-Forum/Urgent-Issue-with-OTP-Verification-Error-Code-40001/m-p/14136#M52</link>
      <description>&lt;P&gt;It looks like the issue is that the sms.code is being sent as a number and not as a string in the instances where you are receiving the errors. You should be able to fix this by ensuring that the sms.code value is always sent as a string. &lt;BR /&gt;If this doesn't fix your issue or if you have any further issues with this, please&amp;nbsp;&lt;SPAN&gt;contact the Sinch Support team (follow the guidelines in the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;A href="https://community.sinch.com/t5/General-Support/Sinch-Customer-Support-Process/td-p/7408" target="_blank" rel="noopener"&gt;Sinch Customer Support Process&lt;/A&gt;)&lt;/SPAN&gt; and they can provide more detailed assistance.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2024 15:35:39 GMT</pubDate>
      <guid>https://community.sinch.com/t5/Developer-Forum/Urgent-Issue-with-OTP-Verification-Error-Code-40001/m-p/14136#M52</guid>
      <dc:creator>Alex_Sberna</dc:creator>
      <dc:date>2024-02-22T15:35:39Z</dc:date>
    </item>
  </channel>
</rss>

