Java SDK 7 giving error invalid token

Java SDK 7 giving error invalid token

Zoho CRM Java SDK 7 we are using to develop our application.
But facing issues while creating basic class for creaitng record some or the other issue with token.
with a valid access token also it would give as invalid token error. or else OAUTH_SCOPE_MISMATCH","message":"invalid oauth scope to access this URL"
we tried chaning the scope also "ZOHOPEOPLE.forms.ALL" to this but then it says invalid token error.
and we go by uusing refresh token it gives the error as invalid client attaching image for the same.