Google Team Drives

I have been using an AppleScript to print a file then export the same file as a jpg and a pdf into separate folder on an external server, which has been working perfectly.

We have just started using Google Team Drives, I change the folder paths and now the AppleScript can’t see the folder.

Am I missing something, a setting somewhere or something?

Thanks in advance

John