Workflows Tips #51: Fix Scope Error When Searching the Okta Log, Format and Validate JSON with JSON Formatter, and Show/Hide the Folder List

Welcome to Okta Workflows Tips post. Read all previous tips.

In this post:

  • Fix insufficient scope error when reading the Okta log
  • Format and validate JSON with JSON Formatter
  • Show/hide the folder list

Fix insufficient scope error when reading the Okta log

If you get the error below when using the Okta – Search Systems Logs card, read Fix the 403 Forbidden Error When Using Search Systems Logs Card to learn how to fix it.

scope=\"okta.logs.read\", error=\"insufficient_scope\", error_description=\"The access token provided does not contain the required scopes.\", resource=\"/api/v1/logs\"

Format and validate JSON with JSON Formatter

Thanks to Mads Grandt for sharing this tip on the Okta support forum.

The JSON Formatter is a helpful tool to format and validate JSON.

Some examples where JSON Formatter can help you.

Fix the JSON file:

Fix JSON file

Collapse/expand nodes and run query the JSON file (next screenshot):

Collapse/expand JSON nodes

Query the JSON file:

Query JSON file

Show/hide the folder list

You can now show/hide the folder list. This is now available on Preview environments.


More resources to help you learn:

🍫 Get help from Workflows specialists during weekly community office hours.

 🎬 Learn from short Workflows videos.

 🙋🏻‍♀️ Join the #okta-workflows channel on MacAdmins Slack to learn and get help from the community

Published by

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.