422 Error When Attempting to Create a Gist: Is Github flagging spam? #39718
Replies: 2 comments
-
Hi there @urbanistica and welcome to our community! Thank you for asking a great question 🙂 To get started, introduce yourself in our official introduction thread |
Beta Was this translation helpful? Give feedback.
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
As the title says. I'm attempting to store JSON files programmatically from a Swift App. I seem to be following the Docs, I've got a token that's valid, I'm authorizing correctly from what I can see.
The JSON I'm sending to try to create the Gist is here: https://gist.github.com/urbanistica/fa2cab822cc7ce6a40f6b9394f811075
From what I can see, it's correctly formed. The JSON itself has been validated in different validators and comes up clean.
So that should mean that, as long as I'm pointing at the right inpoint, and the API json is correct, I ought to get a Gist, no? But the docs indicate that 422 is either malformed JSON (I don't think that's the problem), or flagging spam. But I'm not sure why this would be; it's just some JSON, in a gist. Other than that, I just use Github to store and retrieve project versions in a bunch of repos that seem A-OK....
Beta Was this translation helpful? Give feedback.
All reactions