Adobe Launch - Adding resources to library in launch via the reactor api is not working
I'm in the process of writing a script that will allow the user/dev to update launch using the reactor(launch) api without having to make use of the GUI. I'm at the point where I'm setting up the functionality to add resources to a library and I'm getting an error that says, "Rule /Data Element {resource} is invalid because it needs to be revised." I've attached a screenshot. I don't understand what this means. I'm assuming it might have something to do with needing to add a specific resource revision, but that's not listed in the Reactor API documentation. Does anyone know how to overcome the error?
This is documentation I've been following:
https://developer.adobe.com/experience-platform-apis/references/reactor/#tag/Libraries/operation/addLibraryRules
https://experienceleague.adobe.com/docs/experience-platform/tags/api/endpoints/libraries.html?lang=en#add-resources

