Uploaded image for project: 'AdMaxLocal'
  1. AdMaxLocal
  2. AML-1628

Catch AuthorizationError.USER_PERMISSION_DENIED and re-authenticate

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.1.0, Apponaug
    • Fix Version/s: All Time Backlog
    • Component/s: None
    • Labels:
    • Story Points:
      5
    • Sprint:
      High Priority

      Description

      The Google auth token is stored in sesystem.googleAuthToken. The system is using the cached version. The expected behavior is this AuthorizationError.USER_PERMISSION_DENIED error would be caught by the code, and we would re-authenticate, and update the googleAuthToken table.

      A workaround is to delete the row from the googleAuthToken table.

      2013-05-19 09:00:14.335 (2) [P1T1]: 1 Errors found
      2013-05-19 09:00:14.337 (2) [P1T1]: com.google.api.ads.adwords.axis.v201209.cm.AuthorizationError: ApiError: fieldpath=, trigger=<null> apierrortype=AuthorizationError, reason=AuthorizationError.USER_PERMISSION_DENIED
      2013-05-19 09:00:14.337 (3) [P1T1]: Caught other/unrecoverable API Error: "com.google.api.ads.adwords.axis.v201209.cm.ApiException"
      2013-05-19 09:00:14.350 (3) [P1T1]: Error while updating the collection of campaign budgets!

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                therouxj Jeff Theroux
                Reporter:
                therouxj Jeff Theroux
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: