500 error and no error logs on background and scheduled functions

Site name: https://benchmarkprofessional.netlify.app/
Deploy preview endpoint: Benchmark Pro
Hello guys, I am working on some background functions but I am receiving
some 500 errors.
I can’t find a way to debug it, and this is the error I see on the background function
Error Message Console: Aug 5, 05:43:40 PM: [ERROR] Function logs are currently unavailable. We are working on resolving the issue.
The same happens with scheduled functions too.
Is there a way to debug them or see some logs that could me to solve the 500 error?
Kind regards.

Hi @dcadenaallan,

Is this related:

The link says that the incident was solved but I keep presenting the fault, additionally the incident was from August 4 and the fault that I am reporting is from August 5 a day later.

And as I inform in the report, it is about a deploy preview created on August 5, one day after the related bug was solved.

Hello @hrishikesh,

Is there anything we can take a look at?

I will appreciate any hint.

Kind regards.

Hey there, @ltroya-as :wave:

Are you experiencing a similar issue? If so, can you please share your site name, your most recent deploy log, and any error messages you are receiving?

Hi @hillary

The site name is https://deploy-preview-681--benchmarkprofessional.netlify.app/

Hey there, @dcadenaallan :wave:

Looking at your helpdesk ticket, it looks like you shared that this was solved as of yesterday. Is this the same issue that you were discussing with @Melvin in your ticket?

If it is a different error, we need:

  • a login so that we can access the site
  • a reproduction, if you do not want to share or generate logins
  • your function name

Thank you!

Hey @hillary :wave:

The logs are working now but we still have the 500 error problem in the background functions.

I’m going to talk to my team to review the issue of accessing the site, but I need you to confirm which email I can send you the login information to.

Additionally, I made a small document where you can see how to replicate the error.

Hi @dcadenaallan,

You can send the info to any one or more of us:

@hrishikesh, @hillary, @audrey, @Melvin. Do note that, I and Hillary would be out of office as of tomorrow, which is why we ask you to send it to multiple folks so that, if someone else lands on this thread till then, the debugging can continue. Feel free to share it in a Private Message and include a link back to this thread.

Regarding the detailed PDF that you’ve shared, are you able to extract all of that function code in a test repo so we can try it on our end too?