Thanks for the update @soujanya.
Sample values present in the GoTo documentation are representational purposes and the platform doesn’t receive or use the truncated value.
And regarding Invalid token error, can you share the app id to debug further - How to obtain App ID from the Developer Portal?