Are you using the same account the one you enabled script or not ?
Is it working before and now you are facing this issue ? If yes then may be any software patches update happened on server side I guess. Could you please re enable script on server side again and restart it.
If still you are facing issue then remove this connection in SAP and again reconfigure connection and enable script.
Ok. As I said in earlier post, please remove the connection from SAP whether you are using production, Dev or test etc… And then reconfigure connection again and enable script. And then restart both UIpath studio and SAP Application and then retry it.