Question

decide endpoint is throwing Error 400 on Page Load

  • 28 October 2020
  • 1 reply
  • 65 views

Hi,

We are receiving the bad request for the below mentioned request.

GET https://api-js.mixpanel.com/decide/? 400 (Bad Request)

Request headers are attached for your reference.

Please let us know why this is happening and how to fix the issue.

 


1 reply

Userlevel 6
Badge +3

@BanuRekhaVK —

400 errors usually indicate a bad request has been sent to a server which is unable to process the request due to invalid syntax.

A few things come to mind:

  • While it is possible the error is occurring on the server-side, can you share more about the URL requests you are sending to the /decide API?
  • If you are seeing this on every page load, are you triggering an event on page load that may need to be revisited?
  • Other than seeing the error in the console, is it causing any other issues that could help us understand more about what is going on?

 

 

Reply