Issue does not exist or you do not have permission to see it via Rest Curl API

Am trying to get an issue that I created(MYF-2) via Rest API using CURL.
here is the api documentation,

https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-issueidorkey-get

when I run the code, am having error:
Issue does not exist or you do not have permission to see it.

here is my atlassian-connect


  {
     "name": "Hello World",
     "description": "Atlassian Connect app",
     "key": "com.example.myapp",

"scopes": [
        "read", "write"
    ],

     "baseUrl": "https://<placeholder-url>",
     "vendor": {
         "name": "Example, Inc.",
         "url": "http://example.com"
     },
     "authentication": {
         "type": "none"
     },
     "apiVersion": 1,
     "modules": {
         "generalPages": [
             {
                 "url": "/myproject.html",
                 "key": "Volunteer-Meal",
                 "location": "system.top.navigation.bar",
                 "name": {
                     "value": "Greeting"
                 }
             }
         ]
     }
}

here is my api request. Am using ajax to make the call


$user_email ="MYemail@gmail.com";
$api_token = "my token goes here";
$b64 = base64_encode("$user_email:$api_token");

$url = "https://myinstance.atlassian.net/rest/api/3/issue/MYF-2";
$ch = curl_init();
curl_setopt($ch,CURLOPT_URL, $url);
//curl_setopt($ch, CURLOPT_USERPWD, "$user_email:$api_token"); 
$params_post ="";

curl_setopt($ch, CURLOPT_HTTPHEADER, array('Accept: application/json','Content-Type: application/json',
"Authorization: $b64"));  

curl_setopt($ch,CURLOPT_CUSTOMREQUEST,'GET');
//curl_setopt($ch,CURLOPT_POSTFIELDS, $params_post);
curl_setopt($ch,CURLOPT_SSL_VERIFYPEER,0);
curl_setopt($ch,CURLOPT_SSL_VERIFYHOST,0);
curl_setopt($ch,CURLOPT_RETURNTRANSFER, true);
 echo $response = curl_exec($ch);

curl_close($ch);

print_r($response);

Hi @EsedoFredrick,

Sorry for the slow response. Did you manage to solve your issue?

Regards,
Dugald