Google not index my Custom 404 page ?why?

A 404 page should never be indexed. A 404 response is an error message indicating that a page doesn’t exist.

If your site is sending traffic to a 404 page, Google won’t index the page. This is an expected behavior!

If your “404” page isn’t returning a 404 error, then it’s not a 404 page.

From the sound of things, your temporarily-created links are in fact temporary. Google will not (and should not) index “temporary” content.