Hi Emily,
I think I found your email request for SPSS licensing.
Based on this email request this is what I found:
1) You have installed SPSS Statistics version 30,
2) Your code is designed to license SPSS Statistics version 31.
Due to version differences between software version and code version licensing process doesn't work for you.
In case you agree with above then please install SPSS Statistics 31 and use your code again to license the software.
Best regards,
Dominik
IBM Software Support - SPSS Statistics