ServiceNow Frame.io Integration - Getting 401 error after few successful runs

Hope you are doing well.

We’ve integrated Frame with ServiceNow to retrieve Software Subscription and Storage consumption of the users.

Two integration profiles have been created (2 flows), one to retrieve user information while other to retrieve storage consumption.

Connection URL (API) - https://api.frame.io/v2/
Authorization URL - https://applications.frame.io/oauth2/auth

Using Get OAuth Token (Related link) in ServiceNow, we are generating the tokens. When we generate a new token, it works for 1 Hr (Access token) or few hours sometimes. After that, we expect, Frame to issue a new Access token which fails, and we are receiving 401 error. We’ve validated and confirmed that Refresh token exists, and they are valid.

I’ve attached screenshots that shows both working API and with error after couple of hours.

:
{“headers”:“{"x-request-id":["GEeozk16gEmKEesYncgJ"],"vary":["accept-encoding"],"x-frame-options":["SAMEORIGIN"],"Connection":["keep-alive"],"Date":["Tue, 10 Jun 2025 10:49:44 GMT"],"strict-transport-security":["max-age=31536000; includeSubDomains"],"access-control-expose-headers":["page-number,per-page,total-pages,total,authorization,x-refresh-token,x-session-token,x-expires,x-review-link-id,x-ratelimit-limit,x-ratelimit-window,x-ratelimit-remaining,x-application-env,x-application-instance"],"access-control-allow-origin":["*"],"access-control-allow-credentials":["true"],"x-content-type-options":["nosniff"],"x-xss-protection":["1; mode=block"],"Content-Length":["156"],"cache-control":["max-age=0, private, must-revalidate"],"Content-Type":["application/vnd.api+json; charset=utf-8"]}”,“errInfo”:{“code”:“3”,“message”:“Method failed: (/v2/accounts/a3a97590-c895-4b3b-82ee-10477b9b0abc/teams) with code: 401 - Invalid username/password combo”},“error”:true,“body”:“”,“url”:“accounts/a3a97590-c895-4b3b-82ee-10477b9b0abc/teams”}