HTTP Post fail message

When using the $.post(“MyUrl”) on my dashboard, the webhook works correctly, but my dashboard comes up with a failed message

Screenshot_20221115-173332

That means the browser thinks something about the request failed.

I would try the request again from a computer/laptop where you can open the Console in the Developer Tools of the browser and see what error is being reported.

Thanks, im not sure what im looking for, does this help

T44vIAZL7qtMuQDxkEmJ:1 Access to XMLHttpRequest at ‘https://www.(I have deleted Url)’ from origin ‘https://sharptools.io’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.

Yes, the error indicates that the issue is with the server you are making the request to. The server doesn’t provide a CORS header, so your browser is throwing an error when it makes the request. As you noted, it’s still possible for the server to process the request but the browser will still see the request as failed and thus show an error.

The ‘right’ way to fix this would be to configure the server with the appropriate CORS headers. Alternatively, you could try using the ‘proxy’ flag in your $.post() request.