If the 500 error is intermittent, then it’s likely your account is hitting the memory_limit for the account.Please set memory_limit = 512MIf that doesn’t help, then we would recommend checking your PHP error logs