Unable to update variable accessToken of type string : value must be a string

WeWeb is throwing this error. I have a refresh token endpoint that takes a refresh token and returns an new access token. Should I return a new refresh token as well? Is this the issue WeWeb is struggling to refresh the tokens?