I am trying to configure my REST APIs with API Key based authentication. However, even with Admin role assigned to the key, when I try to execute APIs to get count of records or model export I am getting "Invalid Authentication" error when triggered from my postman app. I am putting entire key value of xxx.yyyyyyy in the key field in the authorization window.
Please let me know the right place to configure authentication for APIs to work without using basic auth.
Best Answer
A
Aymen BEN RABAH
said
over 2 years ago
Hi,
Check that the API Key is setted on the header in your Postman.
Check that the API Key is setted on the header in your Postman.
1 person likes this
Aymen BEN RABAH
said
over 2 years ago
Check your roles and privileges in your model.
Maybe the semarchyAdmin is not present as privilege.
1 person likes this
S
Srikanth JHA
said
over 2 years ago
Thank you so much Aymen for your help, that takes me to next level.
But now I am getting the response "You do not have the permissions to access the application. Please contact your administrator." But I have given semadmin role to this key.
S
Srikanth JHA
said
over 2 years ago
Thanks again Aymen, I granted privileges to my semadmin user role and then the query is responding.
Srikanth JHA
I am trying to configure my REST APIs with API Key based authentication. However, even with Admin role assigned to the key, when I try to execute APIs to get count of records or model export I am getting "Invalid Authentication" error when triggered from my postman app. I am putting entire key value of xxx.yyyyyyy in the key field in the authorization window.
Please let me know the right place to configure authentication for APIs to work without using basic auth.
Hi,
Check that the API Key is setted on the header in your Postman.
- Oldest First
- Popular
- Newest First
Sorted by PopularAymen BEN RABAH
Hi,
Check that the API Key is setted on the header in your Postman.
1 person likes this
Aymen BEN RABAH
Check your roles and privileges in your model.
Maybe the semarchyAdmin is not present as privilege.
1 person likes this
Srikanth JHA
Thank you so much Aymen for your help, that takes me to next level.
But now I am getting the response "You do not have the permissions to access the application. Please contact your administrator." But I have given semadmin role to this key.
Srikanth JHA
Thanks again Aymen, I granted privileges to my semadmin user role and then the query is responding.
-
Import Data Into Entities via Azure Data Lake
-
Recover Deleted(soft Delete) Record and Configure in Application
-
Data Quality in batch mode and real-time integration
-
Integration with analytics tools
-
Query/Load/Delete data with the REST API
-
Does the Done Tab in Inbox have a limit?
-
How Can I Trigger Enricher or Sql Procedure when deleting?
-
Matching Rules But Only The Latest Record Creates a Golden Record
-
Unstructured and Semi Structured Data in Semarchy?
-
Read CSV files from AWS S3
See all 72 topics