Getting error missing_api_key_and_write_key

  • 14 July 2022
  • 3 replies
  • 307 views

I’m trying to call /identify endpoint but I’m getting missing_api_key_and_write_key error.

 

I’m passing the api-key in the request body, like the example in postman:

 

Have anyone experienced this error?

Thanks in advance 


3 replies

Userlevel 4
Badge +7

Hey there! 

If you are not sure that your api key is picked up correctly - please just input your full project api key as it is and not as a variable, e.g: 

 

 

Also do not forget to put the required value for the identification param.

 

Hope it works this way! 

 

Best,

Zhenia

Hi Zhenia, 

 

I already tried that.

If I include the identification param, I get missing_api_key_and_write_key. If I disable the identification param, I get missing_event error.

PS: I’ve replaced my real key with `mykey`

 

Badge +1

Hi. figured it out. 

The Key is not “api-key” like POSTMAN gives you, its “api_key”

Reply