Skip to main content

I'm trying to create a Flow in ServiceNow Flow Designer that creates or updates a Board in Miro from a Visual Task Board.

I've installed the Miro Spoke for Flow Designer.

On the Miro side the company admin has created an application and provided me with the Client ID and Client Secret. The application was then given boards:read, boards:write, organizations:teams:read, organizations:teams:write and organizations:read permissions.

With that, in Flow Designer I was able to complete the default Miro connection and retrieve a OAuth token.

In my Flow Designer flow I use the ‘Look Up Board’ Action which produces error 1 when checking to see if the provided Board ID exists or not, and continues in the branch to create a new Board by using the ‘Create Board’ Action. 

All mandatory fields are filled in, but during testing I get the error message:

{    "Action Status": {        "code": 1,        "message": "Error:  Forbidden Request. Please Check Oauth Token and scope permission. (sys_script_include.c65d1a6777e201106a9e78adaf5a991e.script; line 12)"    }}

The OAuth token is reported as valid:

And there are no other boards permissions to add.

Why would that error occur?

Is there something on the ServiceNow side that needs to be configured more?

Hey ​@Ruud van der Reijden 

What is your app ID? 

For creating a board, all you need is boards:write, so it should work just fine. 

I suggest you try to create board via our APIs (just click on “get access token) and then install the app on a dev team, and then click on “try it” after you name the board etc: https://developers.miro.com/reference/create-board

If it works within the docs, then it must be something with your ServiceNow setup. I’m not sure about that side of things, and I cannot help much there without more debugging info. 

Another thing you can try is to add your token to “get access token context” method and ensure your token has the right scopes: https://developers.miro.com/reference/get-access-token-context


Reply