'Permission issue with /targetingsearch route with facebook graph

I am trying to use an app for the user to login from a web platform, however, I have problems so that the token that returns me can use the following route:

graph.facebook.com/v13.0/act_<<user_id>>/targetingsearch

The permissions that I request in the login are: ads_management and ads_read

My architecture gets the token in the frontend, sends it to the backend, there the route that returns a long-term token is called and then it tries to use the /targetingsearch route

The problem is that, when calling the route, it throws me this: 'OAuth "Facebook Platform" "invalid_request" "(#100) Missing permissions'

Can somebody help me? :(



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source