Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Application doesn't have permission for this

Open
#22 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
20/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
python

Research direction

Review the Facebook Ad Library API authorization steps referenced in the error and compare them with the requested ads_read and ads_management permissions. Reproduce the request with the confirmed account and token, then determine whether the denial comes from the repository scripts or account setup; done means identifying the required permission or an actionable limitation.

Written by the indexing model from the issue text.

Description

Is this an access token issue or something else? Can someone help out? My ID is confirmed too.

{"error":{"message":"Application does not have permission for this action","type":"OAuthException","code":10,"error_subcode":2332002,"is_transient":false,"error_user_title":"Authorization and login needed","error_user_msg":"To access the API, you'll need to follow the steps at facebook.com\/ads\/library\/api.","fbtrace_id":"AdnFHKk6D9J0eBf10RJY3FU"}}%

Do we need to give any specific permissions? I tried ads_read and ads_management.

Dominant language
Python
Stars
338
Forks
131
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from facebookresearch/Ad-Library-API-Script-Repository

All issues in facebookresearch/Ad-Library-API-Script-Repository

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.