Closed sharrisoncaktus closed 5 years ago
Sometimes the access_token to the sharemyhealth API expires, so we get 403 Forbidden when attempting to fetch data.
When this happens, use the refresh token to retrieve a new access token, then continue with the originally-attempted request.
root cause of occasional 403 when accessing PHI.
Sometimes the access_token to the sharemyhealth API expires, so we get 403 Forbidden when attempting to fetch data.
When this happens, use the refresh token to retrieve a new access token, then continue with the originally-attempted request.