Architect Script: WFM Agent Availability Check Returns 403 Forbidden

  • Genesys Cloud v24.5.0
  • Chicago Environment
  • Architect Scripting v2

What is the correct way to handle 403 Forbidden errors when an Architect script attempts to validate agent availability via the wfm:getAgentAvailability endpoint? The error message states “User does not have permission to perform action”. We are seeing this fail for specific agents right after the weekly schedule publish. Are there specific role requirements for the script user?