Parameter as object

  • 8 March 2022
  • 1 reply

I'm implementing Amplitude for the first time and I'm having a problem with the second event fired. Every time the following error appears: TypeError: Cannot convert undefined or null to object. The parameter sent is an object.
Does anyone have an idea what the problem is?

Best answer by Denis Holmes 10 March 2022, 10:32

View original

1 reply

Userlevel 6
Badge +8

Hi @danielmwi ,


Thanks for writing into the Community! I can help you with this.


  1. Which SDK are you using?
  2. What is your org ID and Project ID?
  3. Did you look at the developer docs here?
  4. Have you disabled any ad blockers, VPNs and extensions to see if it works then?
  5. Did you clear cache and cookies, update & restart your browser and then try again?
  6. To me, it sounds like you are passing an empty value somewhere. Have you been able to send a simple event?
  7. Can you show me the code where you encounter this error?

I can then look into it for you. Thank you!


Kind Regards,