mysterious-butcher-86719
03/21/2022, 3:05 PMorange-night-91387
03/21/2022, 3:21 PMmysterious-butcher-86719
03/22/2022, 10:50 AMorange-night-91387
03/22/2022, 3:30 PM{
"query": "{ me { corpUser { username }}}"
}
as to why it still gives a 401 rather than a bad request without the data, I'm not totally sure. I can't reproduce that unfortunately. Can you share the logs for the 401?mysterious-butcher-86719
03/22/2022, 3:56 PM<!DOCTYPE html>
<html lang="en">
<head>
<title>Bad Request</title>
<style>
html, body, pre {
margin: 0;
padding: 0;
font-family: Monaco, 'Lucida Console', monospace;
background: #ECECEC;
}
h1 {
margin: 0;
background: #AD632A;
padding: 20px 45px;
color: #fff;
text-shadow: 1px 1px 1px rgba(0,0,0,.3);
border-bottom: 1px solid #9F5805;
font-size: 28px;
}
p#detail {
margin: 0;
padding: 15px 45px;
background: #F6A960;
border-top: 4px solid #D29052;
color: #733512;
text-shadow: 1px 1px 1px rgba(255,255,255,.3);
font-size: 14px;
border-bottom: 1px solid #BA7F5B;
}
</style>
</head>
<body>
<h1>Bad Request</h1>
<p id="detail">
For request 'POST /api/graphql' [Error decoding json body: com.fasterxml.jackson.core.JsonParseException: Unrecognized token 'query': was expecting (JSON String, Number, Array, Object or token 'null', 'true' or 'false')
at [Source: (akka.util.ByteIterator$ByteArrayIterator$$anon$1); line: 1, column: 7]]
</p>
</body>
</html>
abundant-garage-20831
03/01/2024, 10:43 AMrich-barista-93413
03/01/2024, 10:43 AMorange-night-91387
03/01/2024, 4:32 PM