adobe / adobe/experience-platform-postman-samples
Query Service API - Create a query is missing the authorization header
- Dominant language
- No language data
- Stars
- 100
- Forks
- 146
- PR merge metrics
- No merged PRs in 30d
Description
### 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.

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](https://github.com/adobe/experience-platform-postman-samples/blob/master/apis/experience-platform/Query%20Service%20API.postman_collection.json). 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.
Contributor guide
Research direction
Open Query Service API.postman_collection.json and inspect the Create a query request alongside the other requests in the collection. Add the missing Authorization header, then import the collection into Postman and send the request with the required parameters and body; done means it authenticates and creates and executes the query successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- postman
- Domain
- api
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100