@kim.y.lam
Thank you for the information.
According to the snippet code, it doesn't look like to be our APIs because typically our APIs don't require the staff ID. You may need to contact developers who developed this application to verify what the problem is.
Please provide more information, such the Pyhon code that you are using.