jekader commented on issue #5207:
URL: 
https://github.com/apache/incubator-devlake/issues/5207#issuecomment-3495746682

   Thanks! I added app read permissions, getting a 404 from argo when trying to 
set data scopes. Need to validate the request and token more closely since the 
connection works otherwise.
   
   The error message is a bit confusing, sharing it here for reference:
   ```
   HTTP 404 error
           caused by: error decoding response from 
https://argocd.url/applications: raw response: 
\x1f\x8b\b\x00\x00\x00\x00\x00\x00\xff210Q(HLOU\xc8\xcb/QH\xcb/\xcdK\xe1\x02\x04\x00\x00\xff\xff\x16G\x95\xeb\x13\x00\x00\x00
 (404)
           Wraps: (2) invalid character '\\x1f' looking for beginning of value
           Wraps: (3) invalid character '\\x1f' looking for beginning of value
           Error types: (1) *hintdetail.withDetail (2) *hintdetail.withDetail 
(3) *json.SyntaxError"
   ```
   
   Looks like this is returning a gzipped `404 page not found` string. Wonder 
why it's not getting decoded - I get it that a JSON is expected here but still 
strange to see the raw bytes.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to