Github Copilot Extension API Sending Invalid JSON #144326
Replies: 3 comments 2 replies
-
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
-
Yes, noticed this as well. I know some parsers allow escaped single-quotes like this, but I believe it goes against the JSON spec. |
Beta Was this translation helpful? Give feedback.
-
It appears there's an issue in the JSON formatting due to the use of double backslashes (\n) for newline characters. In JSON, newline characters should be represented as a single backslash followed by n (\n). |
Beta Was this translation helpful? Give feedback.
-
The Github copilot extensions API returns invalid JSON. When a new chat is created, a new message has been prepended to the chat with the "name" field
_session
. This contains invalid JSON when intercepted by a server. Here is an example of the invalid JSON that is received from Github.Please let me know if you need more details.
Beta Was this translation helpful? Give feedback.
All reactions