IBM Cloud Docs
Why can't I perform an action when working with Event Notifications?

Why can't I perform an action when working with Event Notifications?

When you try to use Event Notifications service instance you are unable to perform the action that you're attempting to complete.

When you try to access any feature in Event Notifications service instance either through the console or API or CLI, you may encounter an error similar to any of the following examples:

You do not have permission to perform this action. Contact your service Administrator.

or

{
  "message": "Unauthorized"
}

This is due to the reason that you are trying to access the Event Notifications service instance from a Network Zone which is outside of the defined Network zone in your account's Context-based restrictions settings.

To resolve the issue, make sure that your Context-based restrictions settings in the account are updated to allow the IP addresses that correspond with your network in the Network Zone's Allowed IP addresses. As an administrator of your Event Notifications service instance perform the following steps.

  1. In the IBM Cloud console, click Manage > Context-based restrictions.
  2. Go to Network zones and then select the required Network Zone and select Edit from the overflow menu.
  3. In the Allowed IP addresses, include the required IP addresses that you want to enable access to the Event Notifications service instance.
  4. Click Update.

For more information, see Managing access with context-based restrictions.