`Sometimes getting "User Not Found" (404) error when sending events however user was created years ago | Community
Skip to main content
Answered

`Sometimes getting "User Not Found" (404) error when sending events however user was created years ago

  • November 19, 2024
  • 6 replies
  • 200 views

Hi there,

we’ve recently added events tracking and it was noticed that we get ad hock "User Not Found" error however user exists years. 

Request we send:

{
  "event_name": "post_autopublished",
  "created_at": 1731959712,
  "user_id": "..."
}

 

Response we received:

{
  "type": "error.list",
  "request_id": "0045a0lc51qku6vpphg0",
  "errors": [
    {
      "code": "not_found",
      "message": "User Not Found"
    }
  ]
}

 

Retrying the API call can work but would be great to know what causes the issue.

 

Any help would be appriciated.

 

Best,

Antal

Best answer by bernice

Hey ​@Antal Kiss 👋 Given the nature of this query and that we’ll likely need some further details here, I’m going to pass this over to the support team to take further action on this issue for you. We’ll be in touch over the Messenger 💬

View original
Did this topic help you find an answer to your question?

6 replies

bernice
Expert User ✨
Forum|alt.badge.img+2
  • Expert User ✨
  • 230 replies
  • Answer
  • December 2, 2024

Hey ​@Antal Kiss 👋 Given the nature of this query and that we’ll likely need some further details here, I’m going to pass this over to the support team to take further action on this issue for you. We’ll be in touch over the Messenger 💬


  • New Participant
  • 1 reply
  • December 11, 2024

@Antal Kiss  Did you find a solution? I'm facing a similar issue, but I'm receiving a different error response:

 status: 404,
  response: '<html>\r\n' +
    '<head><title>404 Not Found</title></head>\r\n' +
    '<body>\r\n' +
    '<center><h1>404 Not Found</h1></center>\r\n' +
    '<hr><center>nginx</center>\r\n' +
    '</body>\r\n' +
    '</html>\r\n'

However, after retrying the same REST API call, everything worked without any issues.


  • Author
  • New Participant
  • 3 replies
  • December 12, 2024

Hey ​@bernice! Thank you for your reply. 

 

> We’ll be in touch over the Messenger 💬

When i can expect to be reached out?


  • Author
  • New Participant
  • 3 replies
  • December 17, 2024

Hi ​@SimSkub!

Currently, i'm in talk with a Engineering team’s member to discuss more details about this case.

I will report back here too if we sort this out.

 


hello, any updates on this? I believe I’m also getting unexpected 404 errors on events


  • Author
  • New Participant
  • 3 replies
  • August 18, 2025

Hi everyone,

Just to provide an update here: in my case, the 404 error occurred because the user had been archived. In such cases, the event request ends up on a 404 error response.

Best,

Antal


Reply