Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Team,
We are pulling data from Rest API data source connector. We don't have permission to enter manual service credential. So we are trying to authenticate using API key. But we are below getting error.
I am using basic authentication.
Could you please suggest me how we can authenticate .?
Regards & Thanks,
Irshad Ahmad
Hello!
Authentication method is related how to REST will authenticate before request the information. If your API requires only an API KEY , you can just select the Anonymous.
Hi @rafaelencinas ,
I have selected the authentication schema anonymous. Still getting same error.
Regards, & Thanks,
Irshad Ahad
HI @jrathgebercs !
Lets review your settings:
In your images, its written : accept - > application/json ( generally , the parameter is Content-Type )
Check in your documentation if the authentication method is GET or POST, if its POST, you have to change the method to POST and create a body
If you provide the documentation its better to help, REST APIs sometimes are too complex to setting up.
Bye!
Hi @rafaelencinas ,
In the our existing connection we were using get method to fetch the data from API with window NTLM authentication. But after migration server on new domain. We don't have permission to use service account and password manual. That is a reason we are looking alternate way to authenticate using the api key.
As per your suggestion can we use get method to fetch the data from Api?
Regards & Thanks,
Irshad Ahmad
HI @jrathgebercs !
I recommend you to try to do what do you want with POSTMAN, to test before setting up Qlik.
You need to know with is the name of query parameter to provide a correct parameter in rest query. Can you send a print screen of your documentation or configuration ?
Bye!
Hi @rafaelencinas ,
Thank you for help. We are not using postman.
Please find the attached Rest Get method setting which we are using.
Error Screenshot:
Regards & Thanks,
Irshad Ahmad
PFA
OK, according the picture your Authentication Method stil Windows NTLM, but its empty.
1 - You may type domain\user into User Name box and Password and try to connect.
2 - Generally, if you have authentication key , you dont need to provide user and password, but , you have to set to Anonymous
Note:
- If you are using Windows Client Managed, you have to check if the user that Runs Windows Service has the Access to Active Directory to Authenticate.
- If your Domain IP Server its not reached by server , you must check with the infrastructure department to create a route to this new AD Server
Bye!