晚上好社区,我有一个问题,我可以使用 mailjet 发送电子邮件,但我无法检索或将人员添加到列表中。每次我收到以下 JSON-Parse 错误。你有什么想法,为什么我得到这个错误?
例子:
[1] pry(main)> Mailjet::Listrecipient.all(limit: 0)
为什么它甚至是html?当我明确写入(格式::json)时,我仍然收到此错误。也许我只是犯了一个愚蠢的错误,但是 atm,我看不出我做错了什么。
提前致谢
JSON::ParserError: 822: unexpected token at
'<html>
<head><title>404 Not Found</title></head>
<body bgcolor="white">
<center><h1>404 Not Found</h1></center>
<hr><center>nginx</center>
</body>
</html>'