AddEntitlement issue on Response attribute using WebServices connector with OAuth2

Hello,
We have IdentityIq7.3p7 version, configured for an application using Webservices connector, OAuth2 and Client credential Grand Type. We have issue on getting $response.userid$ values on AddEntitlement operation.

Below are operations executing sequentially
1- Create Account- Context URL: /users This Creates a new account and generates a new user id and with a default role like below:

{ “id”: 412,
“login”: “NOVAKCL”,
“roles”:[{“id”:3, “Name”: “User”}}
}

2- Getobject Context URL: /users/?login=$plan.nativeIdentity$ This get no error and get the $plan.nativeIdentity$ right value

3- AddEntitlement Context URL: /users/id=$response.userid$ This gets an error: /users/id=$response.userid$ and the exception is : 500

userid=id was set on the Create Account Response and also on the Schema userid is defined as an attribute .
How can I get the $response.userid$ correct value on the AddEntitlement Context URL?

Thanks for your help.
Massoud

I just added the WebServiceAfterOperationRule on the Create Account operation to check if I get userid value, the rule print it out the userid:
prinrocessedResponseObject [{userid=418}]

Why cannot I get this value with $response.userid$ in context url?
Can anybody tell me what might be missing in my configuration that I’m not getting the $response.userid$ value in the Context URL of the AddEnttilement operation?
Is it possible that the issue might be related to IIQ7.3p7 Accelerator pack version that we have?
Thanks,
Massoud