Skip to content

M-x yagist-list got error #11

@redguardtoo

Description

@redguardtoo

already setup token at .gitconfig 28afe13f39b7158099cce3f21c8d205181c9e5a1

use http_proxy and https_proxy thru env variables. Latest version yagist is fine.

curl -L https://api.github.com/gists?page=1 is fine.

Here is error message:

Debugger entered--Lisp error: (json-readtable-error)
  signal(json-readtable-error nil)
  json-read()
  json-read-from-string("\n<HTML><HEAD>
\n<TITLE>Request Error</TITLE>
\n</HEAD>
\n<BODY>
\n<FONT face=\"Helvetica\">
\n<big><strong></strong></big><BR>
\n</FONT>
\n<blockquote>
\n<TABLE border=0 cellPadding=1 width=\"80%\">
\n<TR><TD>
\n<FONT face=\"Helvetica\">
\n<big>Request Error (invalid_request)</big>
\n<BR>
\n<BR>
\n</FONT>
\n</TD></TR>
\n<TR><TD>
\n<FONT face=\"Helvetica\">
\nYour request could not be processed. Request could not be handled
\n</FONT>
\n</TD></TR>
\n<TR><TD>
\n<FONT face=\"Helvetica\">
\nThis could be caused by a misconfiguration, or possibly a malformed request.
\n</FONT>
\n</TD></TR>
\n<TR><TD>
\n<FONT face=\"Helvetica\" SIZE=2>
\n<BR>
\nFor assistance, contact your network support team.
\n</FONT>
\n</TD></TR>
\n</TABLE>
\n</blockquote>
\n</FONT>
\n</BODY></HTML>
\n")
  yagist--read-json(168 896)
  yagist-lists-retrieved-callback((:error (error http 400)) "https://api.github.com/gists?page=1" (("page" . 1)))
  apply(yagist-lists-retrieved-callback ((:error (error http 400)) "https://api.github.com/gists?page=1" (("page" . 1))))
  url-http-activate-callback()
  url-http-content-length-after-change-function(168 896 728)
  url-http-wait-for-headers-change-function(1 904 903)
  url-http-generic-filter(#<process intproxy80.prod.srv.westpac.com.au> "HTTP/1.1 400 Bad Request
\nCache-Control: no-cache
\nPragma: no-cache
\nContent-Type: text/html; charset=utf-8
\nProxy-Connection: close
\nConnection: close
\nContent-Length: 727
\n
\n<HTML><HEAD>
\n<TITLE>Request Error</TITLE>
\n</HEAD>
\n<BODY>
\n<FONT face=\"Helvetica\">
\n<big><strong></strong></big><BR>
\n</FONT>
\n<blockquote>
\n<TABLE border=0 cellPadding=1 width=\"80%\">
\n<TR><TD>
\n<FONT face=\"Helvetica\">
\n<big>Request Error (invalid_request)</big>
\n<BR>
\n<BR>
\n</FONT>
\n</TD></TR>
\n<TR><TD>
\n<FONT face=\"Helvetica\">
\nYour request could not be processed. Request could not be handled
\n</FONT>
\n</TD></TR>
\n<TR><TD>
\n<FONT face=\"Helvetica\">
\nThis could be caused by a misconfiguration, or possibly a malformed request.
\n</FONT>
\n</TD></TR>
\n<TR><TD>
\n<FONT face=\"Helvetica\" SIZE=2>
\n<BR>
\nFor assistance, contact your network support team.
\n</FONT>
\n</TD></TR>
\n</TABLE>
\n</blockquote>
\n</FONT>
\n</BODY></HTML>
\n")

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions