Welcome to our UiPath Forum!
Maybe not a direct solution to your particular issue, but definitely a worthy workaround. See here on how to create libraries with web services:
https://studio.uipath.com/docs/loading-web-services-in-libraries
Also, see here for a blog that explains in even more detail with example of using the Orchestrator API: