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
I tested the application by sending Nitro links I had already used.
However, I get attempts that have 401 Unauthorized as a response.
I don't know what response I should expect using redeemed Nitro codes, however, I tried to redeem the same code by making a POST request to the endpoint https://discord.com/api/v9/entitlements/gift-codes/SP4Jmhyq2pJs676f/redeem defining the authorization header with an account token and I was receiving 404 as response saying that the code was unknown, which makes more sense as a response than 401.
In conclusion, is it normal to receive 401 when trying to redeem an already redeemed Nitro code?
The text was updated successfully, but these errors were encountered:
It was my fault for not defining d_token. I thought nitro was redeemed directly from tokens that found the nitro code.
My brain just skipped the line where the authorization header was defined in gift.js
I tested the application by sending Nitro links I had already used.
However, I get attempts that have 401 Unauthorized as a response.
I don't know what response I should expect using redeemed Nitro codes, however, I tried to redeem the same code by making a POST request to the endpoint https://discord.com/api/v9/entitlements/gift-codes/SP4Jmhyq2pJs676f/redeem defining the authorization header with an account token and I was receiving 404 as response saying that the code was unknown, which makes more sense as a response than 401.
In conclusion, is it normal to receive 401 when trying to redeem an already redeemed Nitro code?
The text was updated successfully, but these errors were encountered: