discord-api-docs icon indicating copy to clipboard operation
discord-api-docs copied to clipboard

No error message shown when saving interactions endpoint

Open mavdotj opened this issue 1 year ago • 4 comments

Description

When attempting to save an interactions endpoint url that has not been properly configured, and does not correctly respond to requests from discord, it refuses to save and doesn't show any error message (there is an error message in the request)

Steps to Reproduce

  1. Create a new discord application
  2. Try to set the "Interactions Endpoint URL" to a url that does not exist or doesn't correctly respond to the verification checks

Expected Behavior

When I try to save an incorrect interactions endpoint url, it should show an error message under the textbox saying it could not be verified.

Current Behavior

My server code was still being uploaded, I put the url of the deployment in the dashboard and pressed save. The save button starts loading, sends the post request to discord, and stops about a second later after the request finishes, the server responds with an error message ("The specified interactions endpoint url could not be verified."), but this is not shown on the dashboard and confused me.

Screenshots/Videos

No response

Client and System Information

Chrome: Version 126.0.6478.127 (Official Build) (arm64) For MacOS Sonoma 14.5 (23F79)

mavdotj avatar Jul 06 '24 17:07 mavdotj

Same issue here and additionally Idk why there is an error because I use my correct endpoint URL

I0T-4-L1F3 avatar Jul 10 '24 07:07 I0T-4-L1F3

@chadulous , if you scroll up in the developer portal, do you see the error message? It looks like this for me when I scroll up.

Screenshot 2024-07-12 at 1 45 45 PM

donaldchen avatar Jul 12 '24 20:07 donaldchen

@donaldchen I do see that now, I wish I saw that earlier 😅 it still should scroll up to the error message, or put the message on the input like some other inputs on the portal

mavdotj avatar Jul 12 '24 22:07 mavdotj

@chadulous , I agree that the dev portal UI needs improvement here. We're tracking the issue internally. Thanks for the issue report!

donaldchen avatar Jul 15 '24 16:07 donaldchen