Title: code:&#8221;invalid_json&#8221;
Last modified: September 10, 2024

---

# code:”invalid_json”

 *  Resolved [Pedro Matias (FroPT)](https://wordpress.org/support/users/fropt/)
 * (@fropt)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/codeinvalid_json/)
 * I created the theme (SOL theme) and a plugin called SCMLA11Y.
   when I activate
   my plugin it conflicts with Contact Form 7 and generates the error:Uncaught (
   in promise) :
    1. **code**: “invalid_json”
    2. **message**: “The response is not a valid JSON response.”
    3. [Prototype](https://codex.wordpress.org/Prototype): Object
 * The error disapears when I either deactivate my plugin or deactivate CF7.
   Please
   don’t get me wrong, I know you’re a much better programmer than I am or will 
   be and surelly it was my fault.Anyways I’m asking if you can help me understand
   what might be causing this behaviour so I can fix it.The A11Y plugin is pretty
   simple, it has button to trigger a modal. Some options on that modal overwrite
   some CSS, it can also change the AOS (Animate On Scroll) Lybrary and writes the
   users choices into local storage. Other than that it does nothing.Can you help
   me please?Thank you in advance.
    -  This topic was modified 1 year, 8 months ago by [Pedro Matias (FroPT)](https://wordpress.org/support/users/fropt/).
    -  This topic was modified 1 year, 8 months ago by [Pedro Matias (FroPT)](https://wordpress.org/support/users/fropt/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcodeinvalid_json%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/codeinvalid_json/#post-18007100)
 * Where can we find the SCMLA11Y plugin code?
 *  Thread Starter [Pedro Matias (FroPT)](https://wordpress.org/support/users/fropt/)
 * (@fropt)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/codeinvalid_json/#post-18012499)
 * Hi Takayuki,
 * Thanks for getting back to me! While trying to provide a cleaner solution (to
   avoid any confusion), I discovered the cause of the issue and was able to fix
   it myself.
 * Regardless, here’s the repository in case it’s helpful: [https://github.com/matias2018/a11y](https://github.com/matias2018/a11y)
 * Best,
 * Matias
 *  Thread Starter [Pedro Matias (FroPT)](https://wordpress.org/support/users/fropt/)
 * (@fropt)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/codeinvalid_json/#post-18012520)
 * Resolved.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘code:”invalid_json”’ is closed to new replies.

 * ![](https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255)
 * [Contact Form 7](https://wordpress.org/plugins/contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Pedro Matias (FroPT)](https://wordpress.org/support/users/fropt/)
 * Last activity: [1 year, 8 months ago](https://wordpress.org/support/topic/codeinvalid_json/#post-18012520)
 * Status: resolved