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
about 4 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
S
Srikanth JHA
said
about 4 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.
Aymen BEN RABAH
said
about 4 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
about 4 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 Oldest FirstAymen BEN RABAH
Hi,
Check that the API Key is setted on the header in your Postman.
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.
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
Thanks again Aymen, I granted privileges to my semadmin user role and then the query is responding.
-
Recover Deleted(soft Delete) Record and Configure in Application
-
How Can I Trigger Enricher or Sql Procedure when deleting?
-
Read CSV files from AWS S3
-
Find SQL Statements Generated for Match Rules
-
Is it possible to disable specific steps of an Integration Job?
-
Reset the Override on Many Records Through the Interface or By Script
-
PL/SQL Procedure With B_CREDATE and B_UPDDATE Not Mapped or Loaded, Columns Will Be Null
-
LoadDataRecord contains non persitable expressions when trying to publish Data using the Rest API
-
Data notification on Record deletion
-
How to reference a sequence in a custom function, which I will then populate as an attribute in Semarchy?
See all 59 topics