ServiceNow REST Integration with Monday.com

Shahebaz
Giga Guru

Hello,

I am working on one implementation project where I have to do the integration between Monday.Com and ServiceNow.

I know there is spoke present but that's not our requirements, we need to create an item on the board in Monday.com when we create a record in a custom table.

With current configuration, I am able to generate the OAuth Token BUT when I am trying to read data from Monday.com It says.

 

{"errors":[{"message":"Permission Denied! Your token doesn't grant access to boards:read","extensions":{"code":"missingRequiredPermissions","requiredPermissions":"boards:read"}}],"account_id":9957861}

 

The App is Monday.com have enough permission to perform this action. 

 

Do you guys know How can I specify the scope while requesting OAuth Token? How can I mention correct scope parameter in the OAuth Entity Scope?

Any lead will be appreciated....

 

Thanks

1 ACCEPTED SOLUTION

Hello @MattiasJonsson ,

Thanks for your reply. Yes, I did the configuration in those embedded list BUT still I was getting error as "Invalid scope param". 

I am able to resolve this Issue, It is not from ServiceNow side BUT Monday.com side.

Once you attempt to get OAuth Token from ServiceNow It will generate a request in Monday.com for admin to grant the permission, Even I am getting the OAuth Token BUT the token was not granted the permission that's why I was facing that permission error. When I checked the Monday.com under Developer section that request was pending, once approved I am able to perform the operation.

Thanks

View solution in original post

2 REPLIES 2

MattiasJonsson
ServiceNow Employee
ServiceNow Employee

When you create the OAuth application in ServiceNow, you specify each scope on that.

There are two embedded lists, in "Oauth Entity Scopes" you first add the scopes, then in the "OAuth Entity Profiles" you pick the ones relevant for the auth profile you will be using.

In these two, you will need to add boards:read among others.

Once added, re-request the credentials, Monday should ask your permission for it and then you have a new token that should work.

 

If helpful or correct, please state so.

Hello @MattiasJonsson ,

Thanks for your reply. Yes, I did the configuration in those embedded list BUT still I was getting error as "Invalid scope param". 

I am able to resolve this Issue, It is not from ServiceNow side BUT Monday.com side.

Once you attempt to get OAuth Token from ServiceNow It will generate a request in Monday.com for admin to grant the permission, Even I am getting the OAuth Token BUT the token was not granted the permission that's why I was facing that permission error. When I checked the Monday.com under Developer section that request was pending, once approved I am able to perform the operation.

Thanks