You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AuthenticationApi.verify2FA fails returning a HTTP status code 400 due to incorrect data format in the request, in the code the format is the following:
vrchat/dist/api.js - line 627 localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(twoFactorAuthCode, localVarRequestOptions, configuration);
api.ts - line 7116 localVarRequestOptions.data = serializeDataIfNeeded(twoFactorAuthCode, localVarRequestOptions, configuration)
Making the above change fixes the issue, it looks like the same issue may effect verify2FAEmailCode and verifyRecoveryCode looking at the code but I haven't tested and confirmed this.
The text was updated successfully, but these errors were encountered:
The path of the URL is invalid. It should be /auth/twofactorauth/totp/verify. In the codebase, it is /auth/twofactorauth/otp/verify. Also, you are right.
The path of the URL is invalid. It should be /auth/twofactorauth/totp/verify. In the codebase, it is /auth/twofactorauth/otp/verify. Also, you are right.
mb i was looking at verifyRecoveryCode instad of verify2FA...
AuthenticationApi.verify2FA fails returning a HTTP status code 400 due to incorrect data format in the request, in the code the format is the following:
vrchat/dist/api.js - line 627
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(twoFactorAuthCode, localVarRequestOptions, configuration);
api.ts - line 7116
localVarRequestOptions.data = serializeDataIfNeeded(twoFactorAuthCode, localVarRequestOptions, configuration)
According to the VRChat API Docs (https://vrchatapi.github.io/docs/api/#post-/auth/twofactorauth/totp/verify) the code should be nested:
vrchat/dist/api.js - line 627
api.ts - line 7116
Making the above change fixes the issue, it looks like the same issue may effect verify2FAEmailCode and verifyRecoveryCode looking at the code but I haven't tested and confirmed this.
The text was updated successfully, but these errors were encountered: