Automated Login:Token from automated flow doesn't work for API calls

Hi facing issue in automated login through totp. Till connection all works fine, but post that getting below error
Authorization response status: 200
No redirect, trying token endpoint…
Token endpoint status: 308
Got auth_code from Url
Successfully got auth_code: eyJhbGciOiJIUzI1NiIs…
Exchanging auth_code for access_token…

✓✓ Successfully generated access_token! ✓✓

Access token format: eyJxxxxxxxxx.
Raw access_token: eyJxxxxxxxxx…
JWT token without prefix - adding APP_ID

✓ CONNECTION SUCCESSFUL!

Testing data fetch…

✗ Data fetch failed: {‘code’: -16, ‘message’: ‘Could not authenticate the user’, ‘s’: ‘error’}

Hi @nXIxzOI3R5,

Sorry for the inconvenience. We would like to connect with you to better understand the issue. Please DM us your client ID.

Thanks, sent DM.