question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ajax api call error after upgrading to 1.83 and 1.8.4

See original GitHub issue

HI, I encountered this error after upgrading from 1.8.0 to either 1.8.3 or 1.8.4. Nothing else changed with my client-side js code, and the api calls worked fine in 1.8.0. Below are the error messages and the api call code. I am not a professional coder and apologize if I’m missing something simple. I am embedding this in a 3rd-party site and I can only work with adding js scripts.
This is a great tool and thank you for your help!

Untitled_1

This is the debugging response I get when I click the link in the above console error message

Untitled_2

  $.ajax({
    type: "POST",
     url: apiHost + "createGroupIfNotExistsFor?apikey=" + apikey + "&groupMapper=" + groupId +  "&jsonp=?",
    success: function (result) {
                console.log(result);    
  }});

This is a great tool and thank you for your help!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
JohnMcLearcommented, Jun 2, 2020

Okay try use git bisect to see if you can find the offending commit. Search for mclear git bisect if you need a step by step guide.

0reactions
JohnMcLearcommented, Jun 27, 2020

Good find. Will fix.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What changed in jQuery 1.9 to cause a $.ajax call to fail with ...
An HTTP 204 response is not an empty string: it means there is no data. This is a valid response for delete and...
Read more >
jQuery.ajax() | jQuery API Documentation
A function to be called when the request finishes (after success and error callbacks are executed). The function gets passed two arguments: The...
Read more >
AJAX and APIs - React
Example: Using AJAX results to set local state. The component below demonstrates how to make an AJAX call in componentDidMount to populate local...
Read more >
AJAX before jQuery 1.8 and After - SitePoint
Here is a quick note of AJAX before jQuery 1.8 and the newer version. Don't forget .success() and .error() still supported in jQuery...
Read more >
How To Submit AJAX Forms with JQuery - DigitalOcean
The form will use jQuery to process a form without a page refresh (using AJAX), indicate any errors, and also display a success...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found