Failed to retrieve data using OData API. Details: [COE0020]RBP role view permission is required
This article provides guidance on troubleshooting and resolving errors that may occur during workbook generation for Role-Based Permissions.
- If you encounter the error shown in the screenshot below, follow the steps outlined in this article to fix the issue.

Steps to Fix
To fix the above shown error:
- Login to your successfactors instance.
- Navigate to the Manage RBP admin and Super admin access

- Add the user you are using to generate the workbook in CodeBot, if it has not already been added.
- If the user exists on this screen, grant the necessary permissions.
- Once completed, save the changes. Return to CodeBot and generate the workbook for Role-Based Permissions (RBP). After granting the required view permissions to the user, this error will no longer occur.
If the error persists, please feel free to contact our support team
Updated on: 29/01/2026
Thank you!