Question

User profile api is returning "Invalid Api-Key"


Badge

I am calling https://profile-api.amplitude.com/v1/userprofile endpoint using Insomnia/Postman with the header “Authorization: Api-Key <My-Api-Key>” but the response is always “Invalid Api-Key”.
I’ve only one project and only one Api-Key, so does anyone know why I'm getting this response?

Thanks in advance!


2 replies

Userlevel 2
Badge +1

Hey there, thanks for writing in! 

Sorry to hear that you are getting this error all the time! 

Do you mind sharing your API call (payload) so we could look into it? 

 

Thanks! 

Badge

Hey there, thanks for writing in! 

Sorry to hear that you are getting this error all the time! 

Do you mind sharing your API call (payload) so we could look into it? 

 

Thanks! 

Hello Zhenia! 

First, thanks for the answer.
I’m not using an API, I’m testing that endpoint through Insomnia and Postman rest.
Maybe that's the problem?

note: this user_id and api key from the ss above are fake.

Reply