Can`t remove person follower using api-proxy

I cant remove a follower on the person

I use the API to get the follower of the person

this is the response

(
[0] => stdClass Object
(
[user_id] => 10507790
[id] => 1405
[person_id] => 1411
[add_time] => 2019-10-16 08:34:47
)

        [1] => stdClass Object
            (
                [user_id] => 10128840
                [id] => 1408
                [person_id] => 1411
                [add_time] => 2019-10-17 02:51:04
            )

    )

i use the id like 1405 or 1408

i use the OAuth so i use api-proxy url

https://api-proxy.pipedrive.com/persons/1411/followers/1408

still i cant remove the person follower

PHP CODE
$url = “https://api-proxy.pipedrive.com/persons/1411/followers/1408

        $ch = curl_init();    

        curl_setopt($ch, CURLOPT_URL,$url);                                                                  
        curl_setopt($ch, CURLOPT_CUSTOMREQUEST,"DELETE");                                                                   
        curl_setopt($ch, CURLOPT_TIMEOUT, 30); //timeout after 30 seconds
        curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
        curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_ANY);
        curl_setopt($ch, CURLOPT_HTTPHEADER, array(
            'Authorization: Bearer '.$access_token
        ));

It all looks good to me, should work :slight_smile:

What is the result of
`curl_exec($ch);

1 Like

this the the url
https://api-proxy.pipedrive.com/persons/1469/followers/1551

this is the response
(
[success] =>
[error] => Scope and URL mismatch
[errorCode] => 403
)

Does the app have the permissions you need?

it is an admistrator account … ang the app have the full access scopes required

any update? :frowning:

@dani
@David
Please help