Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Manoj_Prabu
Partner - Creator
Partner - Creator

Issue with Connecting to the Qlik Sense Natural Language Query API

Hi Community,

I was tried to connect to the Qlik Sense Natural Language Query API with Connecting to the Qlik Sense Natural Language Query API as reference. but I'm getting 403 - Forbidden - Qlik Sense error.

Is there anything I need to set/check before connecting or do I need any additional permissions?

Qlik Sense Version : Feb 2021 Patch 4 - 14.5.10

Thanks in advance
Manoj Prabu

1 Reply
Joseph_Musekura
Support
Support

Hi @Manoj_Prabu ,

Did you already activated "Enabled Insights for chat in hub" for the related app (see below)?saveInsight_adv.png

I think you need also to first use GET request before POST
Follow this link to test a simple GET request to extract app details using /qrs/about

https://community.qlik.com/t5/Knowledge/QRS-API-using-Xrfkey-header-in-Postman-Chrome-Extension/ta-p...

if the GET succeeds then test POST with /api/v1/nl/query