I’ve made a collection and added the oath2.0 authorization, this works.
I’ve added a request and set the authorization to inherit from the parent, but when I run the request I get the error:
{
“error”: {
“code”: “InvalidAuthenticationToken”,
“message”: “Access token is empty.”,
“innerError”: {
“date”: “2023-04-07T09:26:22”,
“request-id”: “f1030c0e-8282-44f5-ac4f-3acc65d4146d”,
“client-request-id”: “f1030c0e-8282-44f5-ac4f-3acc65d4146d”
}
}
}
When I change the authorization to “Bearer token” and copy paste the token from the collection, the request works.
What am I missing?
The request is a simple MS Graph request: https://graph.microsoft.com/v1.0/me
This is the authorization on collection level:
And the structure: