Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

scripted rest api issue

Debasis Pati
Kilo Sage

Hello All,
I have created a ouath and one scripted rest api for incident updations.
I am successfully able to generate the tokens and when i call the scripted rest api sending the authorization with Bearer and the token
But still i am receiving the below error
All the configurations are in Global scope only

DebasisPati_0-1776936641050.png

error:

{
    "error": {
        "message": "User Not Authorized",
        "detail": "Access to unscoped api is not allowed"
    },
    "status": "failure"
}
@Ankur Bawiskar any idea?
 



5 REPLIES 5

Ankur Bawiskar
Tera Patron

@Debasis Pati 

KB shared by @Tanushree Maiti should help you

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader