Actually, if you're making a refresh request with an invalid scopes in scopes list; the following response is returned :
{
"scopes.60" : [
"The selected scopes.60 is invalid."
]
}
This is anoying since the provided reference is based on the scopes array key (starting at 0; but depending on language, that may differ).
Furthermore, it implying that the scopes array isn't sorted differently based on the provided one in the request (which seems to be the case actually).
Could you, instead, provided the scope name ?
The resulting response become
{
"scopes.60" : [
"The selected scope esi-corporations.read_outposts.v1 is invalid."
]
}
PS : the provided sample is based on the following scopes list :
Feature / Modification Request
Description
Actually, if you're making a refresh request with an invalid scopes in scopes list; the following response is returned :
This is anoying since the provided reference is based on the scopes array key (starting at 0; but depending on language, that may differ).
Furthermore, it implying that the scopes array isn't sorted differently based on the provided one in the request (which seems to be the case actually).
Could you, instead, provided the scope name ?
The resulting response become
PS : the provided sample is based on the following scopes list :