-
-
Notifications
You must be signed in to change notification settings - Fork 133
Closed
Labels
movedThis issue has been moved to a discussionThis issue has been moved to a discussion
Description
Magit 3.3.0, Git 2.35.1, Emacs 26.3, berkeley-unix
I attempted to post a new issue (here in magit/forge) with forge-post-submit, and I was greeted by this cryptic error:
Debugger entered--Lisp error: (error "Failed to submit post: (error http 422 ((message . \"Invalid request.\n\nFor 'properties/body', false is not a string or null.\") (documentation_url . \"https://docs.github.com/rest/issues/issues#create-an-issue\") (status . \"422\")))")
signal(error ("Failed to submit post: (error http 422 ((message . \"Invalid request.\n\nFor 'properties/body', false is not a string or null.\") (documentation_url . \"https://docs.github.com/rest/issues/issues#create-an-issue\") (status . \"422\")))"))
error("Failed to submit post: %S" (error http 422 ((message . "Invalid request.\n\nFor 'properties/body', false is not a string or null.") (documentation_url . "https://docs.github.com/rest/issues/issues#create-an-issue") (status . "422"))))
#f(compiled-function (error &rest _) #<bytecode 0x1cc0f1a7425d>)((error http 422 ((message . "Invalid request.\n\nFor 'properties/body', false is not a string or null.") (documentation_url . "https://docs.github.com/rest/issues/issues#create-an-issue") (status . "422"))) (("Date" . "Tue, 28 Jan 2025 02:54:15 GMT") ("Content-Type" . "application/json; charset=utf-8") ("Content-Length" . "183") ("X-OAuth-Scopes" . "admin:org, admin:org_hook, admin:repo_hook, delete_repo, gist, notifications, repo, workflow, write:discussion, write:packages") ("X-GitHub-Media-Type" . "github.v3; format=json") ("x-github-api-version-selected" . "2022-11-28") ("X-RateLimit-Limit" . "5000") ("X-RateLimit-Remaining" . "4999") ("X-RateLimit-Reset" . "1738036455") ("X-RateLimit-Used" . "1") ("X-RateLimit-Resource" . "core") ("Access-Control-Expose-Headers" . "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset") ("Access-Control-Allow-Origin" . "*") ("Strict-Transport-Security" . "max-age=31536000; includeSubdomains; preload") ("X-Frame-Options" . "deny") ("X-Content-Type-Options" . "nosniff") ("X-XSS-Protection" . "0") ("Referrer-Policy" . "origin-when-cross-origin, strict-origin-when-cross-origin") ("Content-Security-Policy" . "default-src 'none'") ("Vary" . "Accept-Encoding, Accept, X-Requested-With") ("X-GitHub-Request-Id" . "E80A:156609:1A5239A:33EA5E1:679846D7") ("Server" . "github.com")) (:error (error http 422 ((message . "Invalid request.\n\nFor 'properties/body', false is not a string or null.") (documentation_url . "https://docs.github.com/rest/issues/issues#create-an-issue") (status . "422")))) #s(ghub--req :url #s(url :type "https" :user nil :password nil :host "api.github.com" :portspec nil :filename "/repos/magit/forge/issues" :target nil :attributes nil :fullness t :silent nil :use-cookies t :asynchronous t) :forge nil :silent nil :method "POST" :headers #f(compiled-function () #<bytecode 0x1cc0e886caf5>) :handler ghub--handle-response :unpaginate nil :noerror t :reader nil :callback #f(compiled-function (value headers status req) #<bytecode 0x1cc0e886c9b1>) :errorback #f(compiled-function (error &rest _) #<bytecode 0x1cc0f1a7425d>) :value nil :extra nil))
ghub--handle-response((:error (error http 422 ((message . "Invalid request.\n\nFor 'properties/body', false is not a string or null.") (documentation_url . "https://docs.github.com/rest/issues/issues#create-an-issue") (status . "422")))) #s(ghub--req :url #s(url :type "https" :user nil :password nil :host "api.github.com" :portspec nil :filename "/repos/magit/forge/issues" :target nil :attributes nil :fullness t :silent nil :use-cookies t :asynchronous t) :forge nil :silent nil :method "POST" :headers #f(compiled-function () #<bytecode 0x1cc0e886caf5>) :handler ghub--handle-response :unpaginate nil :noerror t :reader nil :callback #f(compiled-function (value headers status req) #<bytecode 0x1cc0e886c9b1>) :errorback #f(compiled-function (error &rest _) #<bytecode 0x1cc0f1a7425d>) :value nil :extra nil))
apply(ghub--handle-response ((:error (error http 422 ((message . "Invalid request.\n\nFor 'properties/body', false is not a string or null.") (documentation_url . "https://docs.github.com/rest/issues/issues#create-an-issue") (status . "422")))) #s(ghub--req :url #s(url :type "https" :user nil :password nil :host "api.github.com" :portspec nil :filename "/repos/magit/forge/issues" :target nil :attributes nil :fullness t :silent nil :use-cookies t :asynchronous t) :forge nil :silent nil :method "POST" :headers #f(compiled-function () #<bytecode 0x1cc0e886caf5>) :handler ghub--handle-response :unpaginate nil :noerror t :reader nil :callback #f(compiled-function (value headers status req) #<bytecode 0x1cc0e886c9b1>) :errorback #f(compiled-function (error &rest _) #<bytecode 0x1cc0f1a7425d>) :value nil :extra nil)))
url-http-activate-callback()
url-http-content-length-after-change-function(1412 1441 29)
url-http-generic-filter(#<process api.github.com> "ate-an-issue\",\"status\":\"422\"}")
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
movedThis issue has been moved to a discussionThis issue has been moved to a discussion