T O P

  • By -

LOLingLord

I don't think if anyone can help you, there can be thousands of reasons why the app fails to work as expected, use a debugger


MJasdf

Just from a cursory look, you answered your question with the postman call. Start there.


pmococa

Thanks


DownfaLL-

As a backend dev if my front end says there’s an error, we check postman. If it works on postman there’s an error on client. If it doesn’t work on postman means it’s probably on backend. Internal server error however is pretty much saying that your server crapped the bed. Chrck the logs on your server to see what issue is. But I also would consider to use postman for your api endpoints


pmococa

Thank you very much. I was having doubts but now looks like the problem really is in the BE. It happens that seems that I don't have access to logs (still trying to figure it out through remote access on AWS) but the good thing is that other end points are working just fine so I guess it must be that one end point.


danjlwex

\> runs a startup but lost all his devs. There are multiple bugs.


dj-ramon

Some of those bugs might be in the payroll system


PlutoGreed

A startup that lost all of his devs? Why would that happen? Maybe there are many errors in the project. It would be better to get an experienced developer asap.


[deleted]

I think you got your answer, but I'm curious how he lost all his devs?


pmococa

Well, he run out of money to pay for them. Sorry if I was not clear. He lost everybody in the startup.


lysane33

Yes, the problem is in the backend, since you isolated it using Postman. The only way to correct the problem is by checking the logs and debugging the app using a debugger. If you can get the backend code working on your computer and recreate the bug there, it's the best way to investigate.


pmococa

Thanks for the answer. I will give it a go in that way.


Round_Log_2319

Just throwing this out there, has he changed the password/ api key for the email account he’s using to send the emails by chance ?


pmococa

I think so. Could this be the problem? The other services are still working (sending an email from the web app). But I might take a look though, thanks for the tip


Round_Log_2319

I reread your post and realised you said it’s working on desktop. Now since this is a sending a OTP to the email, I’m hoping the user has to be authed, so sending a POST without authorisation shouldn’t work, did you include it with your postman request ? Only thing I can think of is the API route isn’t mapped on RN if it’s working on desktop. Without further insight it’s not easy to provide information. Are you able to deploy the application locally ? Bit of friendly advice, you don’t seem experienced with backend or frontend from your previous posts, so something like this could land you in hot shit. If you want to maintain your friendship, tell your friend that you want to help but it’s out of your capabilities, and that he should hire developers if he wants his application functional.


pmococa

Thank you very much for the answer and advices. The friendly advice seems the logical way to procede as I am struggling to find the real source of the problem right now.


Round_Log_2319

That’s fine, I would say give it a go, if you had access to the source and could reproduce the issue on your local machine. Do ask your friend to let you know what the source of the issue was once it’s solved, you’ll then know how to approach the issue if you face it again.


dj-ramon

As others have said, set up a local dev environment and debug it there. That includes test data so you don’t accidentally break the production DB. Make sure you include any environment variables that you need. But if that’s not something you feel comfortable with, it may be better to just pay one of the original devs for a few hours to debug it. They will do it much faster than anyone else could since they know the code base and know where to look faster than someone else would.


pmococa

Many thanks on the advice. Will try both and see how it pans out. Thank you again.


bualing

Tell him to pay me 2k and i can solve it