Error Code: 50013 Specify which permission is missing #3239
Replies: 11 comments 1 reply
-
It would be strange to have it as a string since all other current uses of permissions are ints. |
Beta Was this translation helpful? Give feedback.
-
Then maybe we can return the permission in its number or in this shifted state like in OAuth2 if multiple permissions are missing |
Beta Was this translation helpful? Give feedback.
-
Yes please, it would make everyone's life easier. |
Beta Was this translation helpful? Give feedback.
-
I'm wondering how any company can't think about it when publishing a public API. This is a basic :/ |
Beta Was this translation helpful? Give feedback.
-
Agreeing with the commenter above, I don't get how nobody came to the conclusion that this is a basic feature while writing the endpoints. |
Beta Was this translation helpful? Give feedback.
-
This would be great for both debugging and for displaying helpful error messages to the users. I am aware that technically we could work it out client-side which permission is missing however it's far far more reliable and easier to handle if discord provided the information directly. |
Beta Was this translation helpful? Give feedback.
-
Please do this. |
Beta Was this translation helpful? Give feedback.
-
Is there any update on this? |
Beta Was this translation helpful? Give feedback.
-
it says closed as completed but it is not completed |
Beta Was this translation helpful? Give feedback.
-
is there any update on this , since i can't able to find to find the error as i already given all permissions and tried with administrator persmission also it got that error |
Beta Was this translation helpful? Give feedback.
-
Any update on this? |
Beta Was this translation helpful? Give feedback.
-
My idea is that upon getting a 50013 that we also get the name of the missing permission like
USE_EXTERNAL_EMOTES
. With this in place, missing permissions handling would be much easier and less redundant code demanding.Maybe this can be achieved by declaring the permission name in the string response, which comes along the code, in the next major API release.
Beta Was this translation helpful? Give feedback.
All reactions