Giter Club home page Giter Club logo

Comments (4)

iRedScarf avatar iRedScarf commented on July 26, 2024

I'm not quite sure why this happened, but it might be related to the change in your Microsoft account password, which may have affected the authentication status of the API or something.

I suggest you try redeploying and re-authenticating, which might resolve the issue.

from onedrive-index.

3kh0 avatar 3kh0 commented on July 26, 2024

OK.

from onedrive-index.

3kh0 avatar 3kh0 commented on July 26, 2024

I tried the following actions:

  • Redeploy, remove project and repo, readding it from step one
  • Deleting the app on Microsoft Azure and re-adding it
  • Deleting everything and starting from scratch

But to no avail

image

image

[Array],
      transformResponse: [Array],
      timeout: 0,
      xsrfCookieName: 'XSRF-TOKEN',
      xsrfHeaderName: 'X-XSRF-TOKEN',
      maxContentLength: -1,
      maxBodyLength: -1,
      env: [Object],
      validateStatus: [Function: validateStatus],
      headers: [AxiosHeaders],
      method: 'post',
      url: 'https://login.microsoftonline.com/common/oauth2/v2.0/token',
      data: 'client_id=00de1844-70b1-4c58-bd9e-ee6df9eeff9a&redirect_uri=http%3A%2F%2Flocalhost&client_secret=5c48Q%7EQL32sNGzSbEliJBuDj9rcWQ5t1aU3P8dxB&refresh_token=M.C106_BAY.-CbPzMjtgZbX2ByJhkrj8Iw*TjD8RcJCMmeZN6kKN6ZRkGhqHNuWDuc7MO09R6zjjDZmPliwrIaYpxZ%21*69CsjdGDSvo5q3IlbSPQGBUagl%21BmFinh5xOOeB2zPa3vQVmsRZTv8po1b7fhYUziEP1nr8yocfs6hrjsSrsWp3x5dqO0ZrFAklAd9Sp5GUE3jRh2toLQjDTC0%21DpiPeEJ%21RaSopv8GqQED0zjS950McXU5q%21Zb1IwbDajCX0cGXa6YIV*fhHQDgwa9lgowtsqEvDaN67F5uS8sxJE8Fb%21FCBvsAMb8miWY1M9IjFQ5r6tBkip*CQ%21npN2LmF9pG4EHcVJDmpFG9SeL*V0LVBjhh7oXJrO8dG14nT7n7Q9HeQHBLDA%24%24&grant_type=refresh_token'
    },
    request: <ref *1> ClientRequest {
      _events: [Object: null prototype],
      _eventsCount: 7,
      _maxListeners: undefined,
      outputData: [],
      outputSize: 0,
      writable: true,
      destroyed: false,
      _last: true,
      chunkedEncoding: false,
      shouldKeepAlive: false,
      maxRequestsOnConnectionReached: false,
      _defaultKeepAlive: true,
      useChunkedEncodingByDefault: true,
      sendDate: false,
      _removedConnection: false,
      _removedContLen: false,
      _removedTE: false,
      strictContentLength: false,
      _contentLength: '597',
      _hasBody: true,
      _trailer: '',
      finished: true,
      _headerSent: true,
      _closed: false,
      socket: [TLSSocket],
      _header: 'POST /common/oauth2/v2.0/token HTTP/1.1\r\n' +
        'Accept: application/json, text/plain, */*\r\n' +
        'Content-Type: application/x-www-form-urlencoded\r\n' +
        'User-Agent: axios/1.2.6\r\n' +
        'Content-Length: 597\r\n' +
        'Accept-Encoding: gzip, compress, deflate, br\r\n' +
        'x-vercel-id: iad1::lpcmf-1699061126575-0b764db50c6a\r\n' +
        'Host: login.microsoftonline.com\r\n' +
        'Connection: close\r\n' +
        '\r\n',
      _keepAliveTimeout: 0,
      _onPendingData: [Function: nop],
      agent: [Agent],
      socketPath: undefined,
      method: 'POST',
      maxHeaderSize: undefined,
      insecureHTTPParser: undefined,
      joinDuplicateHeaders: undefined,
      path: '/common/oauth2/v2.0/token',
      _ended: true,
      res: [IncomingMessage],
      aborted: false,
      timeoutCb: null,
      upgradeOrConnect: false,
      parser: null,
      maxHeadersCount: null,
      reusedSocket: false,
      host: 'login.microsoftonline.com',
      protocol: 'https:',
      _redirectable: [Writable],
      [Symbol(kCapture)]: false,
      [Symbol(kBytesWritten)]: 0,
      [Symbol(kNeedDrain)]: false,
      [Symbol(corked)]: 0,
      [Symbol(kOutHeaders)]: [Object: null prototype],
      [Symbol(errored)]: null,
      [Symbol(kHighWaterMark)]: 16384,
      [Symbol(kRejectNonStandardBodyWrites)]: false,
      [Symbol(kUniqueHeaders)]: null
    },
    data: {
      error: 'invalid_grant',
      error_description: "AADSTS70000: The provided value for the input parameter 'refresh_token' or 'assertion' is not valid. The token was issued for a different client id Trace ID: 3bd6f382-1062-4838-b007-a91b28882300 Correlation ID: 52af4eac-d308-4d2d-a409-6da31b61ccf2 Timestamp: 2023-11-04 01:25:27Z",
      error_codes: [Array],
      timestamp: '2023-11-04 01:25:27Z',
      trace_id: '3bd6f382-1062-4838-b007-a91b28882300',
      correlation_id: '52af4eac-d308-4d2d-a409-6da31b61ccf2',
      error_uri: 'https://login.microsoftonline.com/error?code=70000'
    }
  }
}
Error: Runtime exited with error: exit status 1
Runtime.ExitError

from onedrive-index.

3kh0 avatar 3kh0 commented on July 26, 2024

Sorry, found the fix, the refresh token was still stored in the Redis database, so the site was going crazy, sorry for wasting time!

from onedrive-index.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.