The loan request is not sent to the lender until after your return is accepted by the IRS. So in your case, if the return was rejected, and then you were not offered the loan again when you re-submitted the return that was accepted, you won't be getting it.
If the system offered the Refund Advance when you amended your tax return, then please see the below link.
How will I know if I'm approved for Refund Advance and how long does it usually take?
About the Refund Advance application process
About receiving your Refund Advance
"Super Level 15 Opus 17"
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"