SAP Knowledge Base Article - Public

2663104 - OData API Error - "User does not have access to requested scheduled offering."

Symptom

You are making the API call to get Scheduled Offering details:

Example:

GET /learning/odatav4/public/user/scheduledoffering-service /v1/ScheduledOfferings(7546)

However, an error message is returning:

  • "User does not have access to requested scheduled offering."

postman_error.png

Environment

SuccessFactors Learning

Reproducing the Issue

  1. Generate a user type token.
  2. Call the API to get Scheduled Offering details
  3. You will receive the error "User does not have access to requested scheduled offering.".

Cause

The user who is making the call does not have access to the catalog which the Scheduled Offering is associated with.

Resolution

You need to give access to the catalog for that user for the API call to get the Scheduled Offering details.

If the user can't see the Scheduled Offering details in LMS, he won't be able to see the details via API calls.

Keywords

api, odata, scheduled offering, User does not have access to requested scheduled offering, error.public.rest.scheduled.offering.noaccess , KBA , LOD-SF-LMS-ODA , LMS Web Services OData , Problem

Product

SAP SuccessFactors Learning all versions