syncing-server icon indicating copy to clipboard operation
syncing-server copied to clipboard

HTML response for forbidden API call

Open jonhadfield opened this issue 4 years ago • 2 comments

When making an API call that results in an HTTP 403 response, HTML is returned:


<html>
<head><title>403 Forbidden</title></head>
<body>
<center><h1>403 Forbidden</h1></center>
</body>
</html>

Shouldn't this be JSON?

This is sporadically triggered against: https://sync.standardnotes.org (unknown reason) so may be AWS infrastructure returning, rather than server code.

jonhadfield avatar Apr 11 '21 09:04 jonhadfield

Hi @johnny243, thanks for bringing this to our attention; I've passed this along to the dev team for further review. 🙂

JaspalSuri avatar Apr 13 '21 07:04 JaspalSuri

I often get emails with "Hi John," but this is my first one on GitHub 🙂

jonhadfield avatar Apr 13 '21 12:04 jonhadfield