Closed. This question needs
details or clarity. It is not currently accepting answers.
Answer
Solution:
I'm unfamiliar with using JQuery and Ajax as a whole so thanks to @ADyson for the info.
In Chrome if you double click on the file in the network tool it launches a new GET request to that URL in a new tab. Is that what you're doing? If so then that's a new request so obviously the data you send in the previous request won't be there. The response shown in the screenshot from your AJAX request demonstrates that the error wouldn't happen during the actual AJAX request, it clearly found the data.
Source