Expand my Community achievements bar.

SOLVED

Error: "User is missing required permissions to use Query Service API" (403 Status Code)

Avatar

Level 1

I am encountering an issue when making a GET call to the following endpoint:

https://platform.adobe.io/data/foundation/query/query-templates/

I receive the following error response:

{ "message": "User is missing required permissions to use Query Service API", "statusCode": 403 }
Details:
  • API Call: GET
  • Endpoint: /data/foundation/query/query-templates/
  • Error: 403 Forbidden
  • Message: User is missing required permissions to use Query Service API.

Steps I have already tried:

Could you please assist in confirming the necessary permissions or point me toward a solution to resolve this issue? I would appreciate any guidance on how to check or update my permissions for the Query Service API in AEP.

 

Thank you for your assistance!

 

Best regards,
Sampath

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hello @syeggidi 

 

Just adding addition information shared by bjoern. 

 

1. For query server service you need these permissions: 

Query Service Packaging | Adobe Experience Platform

Parvesh_Parmar_1-1728292795243.png

2. Now if you have Attribute-based access control  is enabled then you have to add this permission under API credentials of your user or roles. 

Attribute-based Access Control Manage Role Permissions | Adobe Experience Platform

 

Parvesh_Parmar_2-1728292921666.png

 

Kr,

Parvesh

 

View solution in original post

2 Replies

Avatar

Community Advisor

Hi @syeggidi 

which permissions do you have? I think these might be needed.

Execute Data Exploration and Batch Queries: This permission allows users to execute SELECT, CTAS, and ITAS queries.
Manage Datasets: This permission provides read-only access for schemas and allows access to read, create, edit, and delete datasets for use with Query Service.

Cheers from Switzerland!


Avatar

Correct answer by
Community Advisor

Hello @syeggidi 

 

Just adding addition information shared by bjoern. 

 

1. For query server service you need these permissions: 

Query Service Packaging | Adobe Experience Platform

Parvesh_Parmar_1-1728292795243.png

2. Now if you have Attribute-based access control  is enabled then you have to add this permission under API credentials of your user or roles. 

Attribute-based Access Control Manage Role Permissions | Adobe Experience Platform

 

Parvesh_Parmar_2-1728292921666.png

 

Kr,

Parvesh