<?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: New data connection with OAuth - Error message &amp;quot;Code verification failed&amp;quot; in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/New-data-connection-with-OAuth-Error-message-quot-Code/m-p/2532744#M15239</link>
    <description>&lt;P&gt;Sounds good - while you are at it you might want to check Azure for any expired token secrets.&lt;/P&gt;</description>
    <pubDate>Tue, 07 Oct 2025 13:17:41 GMT</pubDate>
    <dc:creator>dballing</dc:creator>
    <dc:date>2025-10-07T13:17:41Z</dc:date>
    <item>
      <title>New data connection with OAuth - Error message "Code verification failed"</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/New-data-connection-with-OAuth-Error-message-quot-Code/m-p/2532305#M15218</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Hello community, &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;we're using Qlik Sense Enterprise on-premises and have been trying to establish a data connection to DataBricks for some time.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;When authenticating with OAuth, we receive a verification code, but when we enter it and click "Verify," we receive the following error message:&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vkal12_0-1759392074774.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/183961i5F606845A9902D0B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vkal12_0-1759392074774.png" alt="vkal12_0-1759392074774.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;We have established a data connection to DataBricks via the DataBricks driver on our server.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;This worked with the same information but we would like to establish the data connection directly via the connector to authenticate users.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Does anyone has an idea how we can fix this error message? When creating a connection for example with the Sharepoint Connector the verification with code works fine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much in advance.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;BR /&gt;Vanessa&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Oct 2025 08:04:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/New-data-connection-with-OAuth-Error-message-quot-Code/m-p/2532305#M15218</guid>
      <dc:creator>vkal12</dc:creator>
      <dc:date>2025-10-02T08:04:57Z</dc:date>
    </item>
    <item>
      <title>Re: New data connection with OAuth - Error message "Code verification failed"</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/New-data-connection-with-OAuth-Error-message-quot-Code/m-p/2532378#M15221</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;Open a new browser window in Incognito mode and go to &lt;EM&gt;settings&lt;/EM&gt; and clear &lt;EM&gt;all&lt;/EM&gt; saved data in the browser, cookies, saved websites, saved usernames, etc. - &lt;EM&gt;all.&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Go to the Hub and create a new app and begin creating the Databricks connection again.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When you get to the Azure Oauth authentication step, you will likely be prompted for your organanisations SSO login. Login and copy paste the authentication code again. Make sure the user creating the connection, authenticates via SSO is the same user as authorized to read the databases on Databricks.&lt;/P&gt;&lt;P&gt;Make sure SSL is enabled during the config of the data connection.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Oct 2025 23:40:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/New-data-connection-with-OAuth-Error-message-quot-Code/m-p/2532378#M15221</guid>
      <dc:creator>dballing</dc:creator>
      <dc:date>2025-10-02T23:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: New data connection with OAuth - Error message "Code verification failed"</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/New-data-connection-with-OAuth-Error-message-quot-Code/m-p/2532573#M15227</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;unfortunately I am not able to test it in the incognito mode&amp;nbsp;&lt;SPAN&gt;because our Qlik Sense environment is only accessible from the internal company network. &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;But I also tested your approach in a regular browser and didn't get any positive results.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Authentication still fails.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I choose "Azure OAuth" as Authentication Mechanism and then enter my Tenant Id, Client Id and Client Secret from DataBricks. After I click on "Authenticate" I get redirected to &lt;A href="https://connector.qlik.com" target="_blank" rel="noopener"&gt;https://connector.qlik.com&lt;/A&gt;&amp;nbsp;where I can copy the authentication code to my clipboard. I copy it, enter it in the connector settings in the hub and then it shows me the following error message:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vkal12_0-1759735024428.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/184019iDBA1DDD5F26C162A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vkal12_0-1759735024428.png" alt="vkal12_0-1759735024428.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SSL is enabled as well as proxy.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Oct 2025 07:18:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/New-data-connection-with-OAuth-Error-message-quot-Code/m-p/2532573#M15227</guid>
      <dc:creator>vkal12</dc:creator>
      <dc:date>2025-10-06T07:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: New data connection with OAuth - Error message "Code verification failed"</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/New-data-connection-with-OAuth-Error-message-quot-Code/m-p/2532597#M15228</link>
      <description>&lt;P&gt;Hi, Did you follow the approach of &lt;EM&gt;removing &lt;U&gt;all&lt;/U&gt; browser data&lt;/EM&gt; in your regular browser while doing this?&lt;/P&gt;</description>
      <pubDate>Mon, 06 Oct 2025 10:25:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/New-data-connection-with-OAuth-Error-message-quot-Code/m-p/2532597#M15228</guid>
      <dc:creator>dballing</dc:creator>
      <dc:date>2025-10-06T10:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: New data connection with OAuth - Error message "Code verification failed"</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/New-data-connection-with-OAuth-Error-message-quot-Code/m-p/2532598#M15229</link>
      <description>&lt;P&gt;Hi, yes I removed absolutely everything. I've just tried it with a different browser (Firefox) and then I get redirected to my&amp;nbsp;&lt;SPAN&gt;organisations SSO login. After retrieving the authentication code I copy and paste it but I still get the same error message.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Oct 2025 10:32:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/New-data-connection-with-OAuth-Error-message-quot-Code/m-p/2532598#M15229</guid>
      <dc:creator>vkal12</dc:creator>
      <dc:date>2025-10-06T10:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: New data connection with OAuth - Error message "Code verification failed"</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/New-data-connection-with-OAuth-Error-message-quot-Code/m-p/2532600#M15230</link>
      <description>&lt;P&gt;OK thanks for confirming.&lt;/P&gt;&lt;P&gt;Are you able to retrieve &lt;EM&gt;log data&amp;nbsp;&lt;/EM&gt;for the latest unsuccessful connection attempts and paste any error indications here?&lt;/P&gt;&lt;P&gt;Additionally, while recreating the authentication step, can you open devl tools in your browser and check for any errors/warnings? Open one devl tools in each page so that errors will show in each of the two windows you are working in incl. when you are redirected to connector.qlik.com&amp;nbsp;for authentication secret.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Oct 2025 10:38:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/New-data-connection-with-OAuth-Error-message-quot-Code/m-p/2532600#M15230</guid>
      <dc:creator>dballing</dc:creator>
      <dc:date>2025-10-06T10:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: New data connection with OAuth - Error message "Code verification failed"</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/New-data-connection-with-OAuth-Error-message-quot-Code/m-p/2532605#M15231</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have collected the log files (&lt;SPAN&gt;&lt;A title="https://help.qlik.com/en-us/connectors/subsystems/odbc_connector_help/content/connectors_odbc/odbc-log-information.htm" href="https://help.qlik.com/en-US/connectors/Subsystems/ODBC_connector_help/Content/Connectors_ODBC/ODBC-log-information.htm" target="_blank" rel="noreferrer noopener"&gt;Locate the log files for ODBC connectors | Qlik Connectors Help&lt;/A&gt;) from this morning and can see the following ERROR messages:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;The serialization of the Cache threw an exception: Qlik.Connectors.SDK.Common.Exceptions.KeyProviderException: Could not get key with id prefix 'qseow' ---&amp;gt; System.FormatException: The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Convert.FromBase64_Decode(Char* startInputPtr, Int32 inputLength, Byte* startDestPtr, Int32 destLength)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Convert.FromBase64CharPtr(Char* inputPtr, Int32 inputLength)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Convert.FromBase64String(String s)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at Qlik.Connectors.SDK.Common.Encryption.WindowsAesGcmEncryptionService.getKeyFromString(String keyStr)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at Qlik.Connectors.SDK.Common.Encryption.WindowsAesGcmEncryptionService.EncryptWithKey(String value, String inputKey)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at Qlik.Connectors.SDK.Common.Utilities.KeyProvider.KeyProvider.CreateKey(String keyFilePath)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at Qlik.Connectors.SDK.Common.Utilities.KeyProvider.KeyProvider.GetKeyInternal(Boolean autoCreate)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; --- End of inner exception stack trace ---&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at Qlik.Connectors.SDK.Common.Utilities.KeyProvider.KeyProvider.GetKeyInternal(Boolean autoCreate)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at Qlik.Connectors.SDK.Common.Services.FileSystemCaching.FileSystemCachingService.EncryptSecured(CacheItem item)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at Qlik.Connectors.SDK.Common.Services.FileSystemCaching.FileSystemCachingService.EncryptCacheDictionary()&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at Qlik.Connectors.SDK.Common.Services.FileSystemCaching.FileSystemCachingService.Serialize()&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Request state does not match&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Error in HandleJsonRequest for method=getToken, exception=OAuthParametersException, error=Invalid request state, please re-authenticate, internalError=False&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just checked our ENCRYPTION_KEY and this key only contains big letters, small letters and numbers. No special characters. It contains 40 characters, no padding. Is this necessary?&amp;nbsp;&lt;/P&gt;&lt;P&gt;We also work with other build-in connectors (e.g. Office 365 Sharepoint) where the authentication with the authentication code works fine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Oct 2025 11:38:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/New-data-connection-with-OAuth-Error-message-quot-Code/m-p/2532605#M15231</guid>
      <dc:creator>vkal12</dc:creator>
      <dc:date>2025-10-06T11:38:01Z</dc:date>
    </item>
    <item>
      <title>Re: New data connection with OAuth - Error message "Code verification failed"</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/New-data-connection-with-OAuth-Error-message-quot-Code/m-p/2532698#M15236</link>
      <description>&lt;P&gt;Log indicates issues with the encryption key. I would try to &lt;EM&gt;replace&lt;/EM&gt; with a new key just in case.&lt;/P&gt;&lt;P&gt;More info on how to do this can be found here: &lt;A href="https://help.qlik.com/en-US/connectors/Content/Connectors_Home/Setting-encryption-key.htm" target="_blank"&gt;https://help.qlik.com/en-US/connectors/Content/Connectors_Home/Setting-encryption-key.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt;: you'll likely have to &lt;EM&gt;recreate&lt;/EM&gt; any other ODBC data connections made using the ODBC Data Connector Package, so make sure you have pass and credentials for existing connections at your disposal.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Oct 2025 07:42:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/New-data-connection-with-OAuth-Error-message-quot-Code/m-p/2532698#M15236</guid>
      <dc:creator>dballing</dc:creator>
      <dc:date>2025-10-07T07:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: New data connection with OAuth - Error message "Code verification failed"</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/New-data-connection-with-OAuth-Error-message-quot-Code/m-p/2532731#M15237</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;we will replace the encryption key with a new one instead and try it again. I'll reply if it worked.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Oct 2025 11:32:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/New-data-connection-with-OAuth-Error-message-quot-Code/m-p/2532731#M15237</guid>
      <dc:creator>vkal12</dc:creator>
      <dc:date>2025-10-07T11:32:51Z</dc:date>
    </item>
    <item>
      <title>Re: New data connection with OAuth - Error message "Code verification failed"</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/New-data-connection-with-OAuth-Error-message-quot-Code/m-p/2532744#M15239</link>
      <description>&lt;P&gt;Sounds good - while you are at it you might want to check Azure for any expired token secrets.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Oct 2025 13:17:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/New-data-connection-with-OAuth-Error-message-quot-Code/m-p/2532744#M15239</guid>
      <dc:creator>dballing</dc:creator>
      <dc:date>2025-10-07T13:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: New data connection with OAuth - Error message "Code verification failed"</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/New-data-connection-with-OAuth-Error-message-quot-Code/m-p/2532808#M15244</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;we replaced the encryption key with a new one and now the authentification process works fine! We included a padding character at the end of the key in case this is necessary.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for your support in this case!&lt;/P&gt;&lt;P&gt;Best regards,&amp;nbsp;&lt;BR /&gt;Vanessa&lt;/P&gt;</description>
      <pubDate>Wed, 08 Oct 2025 06:03:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/New-data-connection-with-OAuth-Error-message-quot-Code/m-p/2532808#M15244</guid>
      <dc:creator>vkal12</dc:creator>
      <dc:date>2025-10-08T06:03:56Z</dc:date>
    </item>
  </channel>
</rss>

