adobe / experience-platform-postman-samples

MIT License
83 stars 142 forks source link

Query Service API - Create a query is missing the authorization header #59

Open Ashika08 opened 2 years ago

Ashika08 commented 2 years ago

Expected Behaviour

The Create a query in QueryService API is supposed to allow to create and execute a new query by just importing the postman json files and sending the API request (where no additional headers need to be added).

Actual Behaviour

Even with all the required params and request body, the API fails with an authentication error.

QueryServiceAPI_NoAuthHeader

The other requests in this collection work fine, this particular request is missing the Authorization header.

Reproduce Scenario

Download and import the postman file for the Query Service API. When you try to send the request for Create a query API, it fails with the above mentioned error.

Fix

Adding the Authorization header to this request solves the issue.

QueryService API_WithAuthHeader