Oauth error invalid_request Please help me

I am getting this error when I am creating custom app so please anybody help me how can i resolve this error please take anydesk remote to help me for this error. please msg me on (+91) 8802335673 I request you for help.

yes i am using PHP and i am sharing my code please check it is correct. this is my app installation code using php.

<?php $API_KEY = '7fc2462dcc14b36b94373eeef88e25bf'; $_NGROK_URL = '[https://295d-122-161-89-3.ngrok-free.app](https://295d-122-161-89-3.ngrok-free.app)'; $shop = $_GET['shop']; $scopes = 'read+products,write_products,read_orders,write_orders'; $redirect_uri = $_NGROK_URL . '/elana/token.php'; $nonce = bin2hex( random_bytes(12)); $access_mode = 'per-user'; $oauth_url = 'https://' . $shop . '/admin/oauth/authorize?client_id=' . $_API_KEY . '&scope=' . $scopes . '&redirect_uri=' . urlencode($redirect_uri) . '&state' . $nonce . '&grant_options[]=' . $access_mode; header("Location:" . $oauth_url); exit(); ?>

and sharing with my shopify app setting screen shot.

thank mam i will work on this today then update you. thank you