Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Mixed responses for the same request (Cloud REST API)

Kristián Kostecký
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 21, 2023

When I try to access permissions on `/permissions/check` I am getting different responses for the same request.

This is response from requests called immediately after each other. I would expect it to fail for both since the credentials are not real. 
Screenshot 2023-03-21 at 16.41.49.png
Here's code snippet 
```
curl --request POST \
--user 'notexisting@email.address:somerandomstring' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"globalPermissions":["USER_PICKER"],"projectPermissions":[{"projects":[],"permissions":["BROWSE_PROJECTS","VIEW_DEV_TOOLS"]}]
}'
```

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events