Unable to call appscript via gsuite scope

Hi all,
We are facing an issue while trying to call a google appscript via gsuite scope. The script returns an oauth2 token as output and we use this token further for api calling.
We have configures the scopes and service account details in the gsuite scope. However when we use Run script activity, we are getting an error-Run Script: Google.Apis.Requests.RequestError
Requested entity was not found. [404]
Errors [
Message[Requested entity was not found.] Location[ - ] Reason[notFound] Domain[global]

We have tried using both script id and deployment id value in run script activity, but no luck.

Request people here to help us with is issue.

Attaching error screenshot