We have two applications with the same database and the same code one staging and the other one production. Our code works perfectly fine with the staging and does not work in the production and production rt logs also do not show anything just a black screen. Please resolve this issue as soon as possible.
I do not see any errors related to your applications in our system logs.
About RT logging. As I can see there is a different logging level for stage and prod apps. Stage has “Info” level while prod “Error”. Or in your case errors also don’t logged in prod app?
I would suggest to add more logging to your code on production and check at which point it goes wrong
The function that I give you it’s working fine in the staging and not working but in the production this API is not able to create a relation with the question table in the user_answer table.
Please check this API below for Rt log in which I write only console in production when you hit the API nothing happens in the rt logs
Nothing happens in the RT logs in the prod app because you have the ERROR log level in this app (and the appleAPIs method doesn’t return any error just prints to the console)
and logs are shown in the stage app because of the INFO level (which shows everything).
Please change the log level to INFO in your prod app to see all logs.
Also as @Andriy_Konoz said according to the submitAnswerInBulk code:
I would suggest to add more logging to your code on production and check at which point it goes wrong.
The ticket is closed for now as RT logs issue is found.
In case the issue with relations still occurs please provide the detailed steps to reproduce it (including parameters we can pass into the method).