How to Fix a 403 Forbidden Error When Using Search Systems Logs Card

Okta Workflows how-to guides are questions and answers from weekly community office hours, MacAdmins Workflows Slack channel, and other places. Read all previous how-to guides

On to the question. 

How to fix 403 Forbidden error when using Search Systems Logs card?

Okta – Search Systems Logs card allows you to search the Okta log by a keyword (and also expression, set in Options):

Search Systems Logs card

When a run a flow with this card, you might get a 403 Forbidden error:

403 Forbidden error with Search Systems Logs card

To fix this error you need to grand an additional scope to the Okta connection.

  1. From the Admin Console, go to Applications > Applications
  2. Click on Okta Workflows OAuth
  3. Open Okta API Scopes tab
  4. Find okta.logs.read scope and click Grant
  5. For this scope to take affect, you need to reauthorize the connection being used
Granding a scope to a connection

After you reauthorize, run the flow again. The card is now able to search the logs:

Search Systems Logs card

🙏🏼 Thanks to Bryan Barrows (LinkedIn, blog) who helped with this question on MacAdmins Slack channel.


More resources to help you learn:

 📺 Short how-to Workflows videos to help you become a better automation builder.

 🍭 A collection of helpful Workflows tips.

Leave a Comment

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.