Error in connecting to WorkDrive

Error in connecting to WorkDrive

I'm trying to write a script to look in a specific WorkDrive folder and if there is a csv or xslx file, copy it to a different folder with a modified filename. That gave me the error: {"errors":[{"id":"F6016","title":"URL Rule is not configured"}]}

So I stripped the function down to the code below to test the connection, but still get the same error. I checked the connection scopes and all looks good, but I can't see an option to configure a URL Rule. What am I missing?

string standalone.copy_file()
{
    response = invokeUrl
[
    type: GET
    connection: "workdrive_connection"
];
info response.toString();

    return ""; 
}