Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- :::<!DOCTYPE html>
- <html lang="en">
- <head>
- <meta http-equiv="content-type" content="text/html; charset=utf-8">
- <meta name="robots" content="NONE,NOARCHIVE">
- <title>FacebookRequestError
- at /users/merchant/api/v1/merchant-ads/416</title>
- <style type="text/css">
- html * { padding:0; margin:0; }
- body * { padding:10px 20px; }
- body * * { padding:0; }
- body { font:small sans-serif; background-color:#fff; color:#000; }
- body>div { border-bottom:1px solid #ddd; }
- h1 { font-weight:normal; }
- h2 { margin-bottom:.8em; }
- h3 { margin:1em 0 .5em 0; }
- h4 { margin:0 0 .5em 0; font-weight: normal; }
- code, pre { font-size: 100%; white-space: pre-wrap; }
- summary { cursor: pointer; }
- table { border:1px solid #ccc; border-collapse: collapse; width:100%; background:white; }
- tbody td, tbody th { vertical-align:top; padding:2px 3px; }
- thead th {
- padding:1px 6px 1px 3px; background:#fefefe; text-align:left;
- font-weight:normal; font-size:11px; border:1px solid #ddd;
- }
- tbody th { width:12em; text-align:right; color:#666; padding-right:.5em; }
- table.vars { margin:5px 0 2px 40px; }
- table.vars td, table.req td { font-family:monospace; }
- table td.code { width:100%; }
- table td.code pre { overflow:hidden; }
- table.source th { color:#666; }
- table.source td { font-family:monospace; white-space:pre; border-bottom:1px solid #eee; }
- ul.traceback { list-style-type:none; color: #222; }
- ul.traceback li.frame { padding-bottom:1em; color:#4f4f4f; }
- ul.traceback li.user { background-color:#e0e0e0; color:#000 }
- div.context { padding:10px 0; overflow:hidden; }
- div.context ol { padding-left:30px; margin:0 10px; list-style-position: inside; }
- div.context ol li { font-family:monospace; white-space:pre; color:#777; cursor:pointer; padding-left: 2px; }
- div.context ol li pre { display:inline; }
- div.context ol.context-line li { color:#464646; background-color:#dfdfdf; padding: 3px 2px; }
- div.context ol.context-line li span { position:absolute; right:32px; }
- .user div.context ol.context-line li { background-color:#bbb; color:#000; }
- .user div.context ol li { color:#666; }
- div.commands, summary.commands { margin-left: 40px; }
- div.commands a, summary.commands { color:#555; text-decoration:none; }
- .user div.commands a { color: black; }
- #summary { background: #ffc; }
- #summary h2 { font-weight: normal; color: #666; }
- #explanation { background:#eee; }
- #template, #template-not-exist { background:#f6f6f6; }
- #template-not-exist ul { margin: 0 0 10px 20px; }
- #template-not-exist .postmortem-section { margin-bottom: 3px; }
- #unicode-hint { background:#eee; }
- #traceback { background:#eee; }
- #requestinfo { background:#f6f6f6; padding-left:120px; }
- #summary table { border:none; background:transparent; }
- #requestinfo h2, #requestinfo h3 { position:relative; margin-left:-100px; }
- #requestinfo h3 { margin-bottom:-1em; }
- .error { background: #ffc; }
- .specific { color:#cc3300; font-weight:bold; }
- h2 span.commands { font-size:.7em; font-weight:normal; }
- span.commands a:link {color:#5E5694;}
- pre.exception_value { font-family: sans-serif; color: #575757; font-size: 1.5em; margin: 10px 0 10px 0; }
- .append-bottom { margin-bottom: 10px; }
- .fname { user-select: all; }
- </style>
- <script>
- function hideAll(elems) {
- for (var e = 0; e < elems.length; e++) {
- elems[e].style.display = 'none';
- }
- }
- window.onload = function() {
- hideAll(document.querySelectorAll('ol.pre-context'));
- hideAll(document.querySelectorAll('ol.post-context'));
- hideAll(document.querySelectorAll('div.pastebin'));
- }
- function toggle() {
- for (var i = 0; i < arguments.length; i++) {
- var e = document.getElementById(arguments[i]);
- if (e) {
- e.style.display = e.style.display == 'none' ? 'block': 'none';
- }
- }
- return false;
- 2022-11-15 10:03:01.624 16594-16594 adError com.tathmini.app E }
- function switchPastebinFriendly(link) {
- s1 = "Switch to copy-and-paste view";
- s2 = "Switch back to interactive view";
- link.textContent = link.textContent.trim() == s1 ? s2: s1;
- toggle('browserTraceback', 'pastebinTraceback');
- return false;
- }
- </script>
- </head>
- <body>
- <div id="summary">
- <h1>FacebookRequestError
- at /users/merchant/api/v1/merchant-ads/416</h1>
- <pre class="exception_value">
- Message: Call was not successful
- Method: POST
- Path: https://graph.facebook.com/v13.0/act_493160332374461/adsets
- Params: {'name': 'Adset for 40948', 'daily_budget': '134', 'bid_amount': '134', 'billing_event': 'IMPRESSIONS', 'optimization_goal': 'REACH', 'campaign_id': '23850720969060647', 'targeting': '{"age_max":65,"age_min":18,"device_platforms":["mobile","desktop"],"geo_locations":{"countries":["KE"]},"publisher_platforms":["facebook","audience_network","instagram"]}', 'end_time': datetime.datetime(2022, 11, 16, 15, 5, 36), 'start_time': datetime.datetime(2022, 11, 15, 14, 5, 36)}
- Status: 400
- Response:
- {
- "error": {
- "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.",
- "type": "OAuthException",
- "code": 190,
- "error_subcode": 460,
- "fbtrace_id": "AE6toeNP5qxBJjK92hGFTRf"
- }
- }
- </pre>
- <table class="meta">
- <tr>
- <th>Request Method:</th>
- <td>POST</td>
- </tr>
- <tr>
- <th>Request URL:</th>
- <td>https://ajua-com-api.ajua.com/users/merchant/api/v1/merchant-ads/416</td>
- </tr>
- <tr>
- <th>Django Version:</th>
- <td>4.0.3</td>
- </tr>
- <tr>
- <th>Exception Type:</th>
- <td>FacebookRequestError</td>
- </tr>
- <tr>
- <th>Exception Value:</th>
- <td><pre>
- Message: Call was not successful
- Method: POST
- Path: https://graph.facebook.com/v13.0/act_493160332374461/adsets
- Params: {'name': 'Adset for 40948', 'daily_budget': '134', 'bid_amount': '134', 'billing_event': 'IMPRESSIONS', 'optimization_goal': 'REACH', 'campaign_id': '23850720969060647', 'targeting': '{"age_max":65,"age_min":18,"device_platforms":["mobile","desktop"],"geo_locations":{"countries":["KE"]},"publisher_platforms":["facebook","audience_network","instagram"]}', 'end_time': datetime.datetime(2022, 11, 16, 15, 5, 36), 'start_time': datetime.datetime(2022, 11, 15, 14, 5, 36)}
- Status: 400
- Response:
- {
- "error": {
- "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.",
- "type": "OAuthException",
- "code": 190,
- "error_subcode": 460,
- "fbtrace_id": "AE6toeNP5qxBJjK92hGFTRf"
- }
- }
- </pre></td>
- </tr>
- <tr>
- <th>Exception Location:</th>
- <td><span class="fname">/home/ubuntu/lib/python3.8/site-packages/facebook_business/api.py</span>, line 350, in call</td>
- </tr>
- <tr>
- <th>Python Executable:</th>
- <td>/home/ubuntu/bin/python</td>
- </tr>
- <tr>
- <th>Python Version:</th>
- <td>3.8.10</td>
- </tr>
- <tr>
- <th>Python Path:</th>
- 2022-11-15 10:03:01.624 16594-16594 adError com.tathmini.app E <td><pre>['/home/ubuntu/tathmini-core',
- '/home/ubuntu/bin',
- '/usr/lib/python38.zip',
- '/usr/lib/python3.8',
- '/usr/lib/python3.8/lib-dynload',
- '/home/ubuntu/lib/python3.8/site-packages']</pre></td>
- </tr>
- <tr>
- <th>Server time:</th>
- <td>Tue, 15 Nov 2022 14:05:37 +0300</td>
- </tr>
- </table>
- </div>
- <div id="traceback">
- <h2>Traceback <span class="commands"><a href="#" onclick="return switchPastebinFriendly(this);">
- Switch to copy-and-paste view</a></span>
- </h2>
- <div id="browserTraceback">
- <ul class="traceback">
- <li class="frame django">
- <code class="fname">/home/ubuntu/lib/python3.8/site-packages/django/core/handlers/exception.py</code>, line 55, in inner
- <div class="context" id="c140174645275840">
- <ol start="48" class="pre-context" id="pre140174645275840">
- <li onclick="toggle('pre140174645275840', 'post140174645275840')"><pre></pre></li>
- <li onclick="toggle('pre140174645275840', 'post140174645275840')"><pre> return inner</pre></li>
- <li onclick="toggle('pre140174645275840', 'post140174645275840')"><pre> else:</pre></li>
- <li onclick="toggle('pre140174645275840', 'post140174645275840')"><pre></pre></li>
- <li onclick="toggle('pre140174645275840', 'post140174645275840')"><pre> @wraps(get_response)</pre></li>
- <li onclick="toggle('pre140174645275840', 'post140174645275840')"><pre> def inner(request):</pre></li>
- <li onclick="toggle('pre140174645275840', 'post140174645275840')"><pre> try:</pre></li>
- </ol>
- <ol start="55" class="context-line">
- <li onclick="toggle('pre140174645275840', 'post140174645275840')"><pre> response = get_response(request)</pre> <span>…</span></li>
- </ol>
- <ol start='56' class="post-context" id="post140174645275840">
- <li onclick="toggle('pre140174645275840', 'post140174645275840')"><pre> except Exception as exc:</pre></li>
- <li onclick="toggle('pre140174645275840', 'post140174645275840')"><pre> response = response_for_exception(request, exc)</pre></li>
- <li onclick="toggle('pre140174645275840', 'post140174645275840')"><pre> return response</pre></li>
- <li onclick="toggle('pre140174645275840', 'post140174645275840')"><pre></pre></li>
- <li onclick="toggle('pre140174645275840', 'post140174645275840')"><pre> return inner</pre></li>
- <li onclick="toggle('pre140174645275840', 'post140174645275840')"><pre></pre></li>
- </ol>
- </div>
- <details>
- <summary class="commands">Local vars</summary>
- <table class="vars" id="v140174645275840">
- <thead>
- <tr>
- <th>Variable</th>
- <th>Value</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>exc</td>
- 2022-11-15 10:03:01.624 16594-16594 adError com.tathmini.app E <td class="code"><pre>FacebookRequestError('\n\n Message: Call was not successful\n Method: POST\n Path: https://graph.facebook.com/v13.0/act_493160332374461/adsets\n Params: {\'name\': \'Adset for 40948\', \'daily_budget\': \'134\', \'bid_amount\': \'134\', \'billing_event\': \'IMPRESSIONS\', \'optimization_goal\': \'REACH\', \'campaign_id\': \'23850720969060647\', \'targeting\': \'{"age_max":65,"age_min":18,"device_platforms":["mobile","desktop"],"geo_locations":{"countries":["KE"]},"publisher_platforms":["facebook","audience_network","instagram"]}\', \'end_time\': datetime.datetime(2022, 11, 16, 15, 5, 36), \'start_time\': datetime.datetime(2022, 11, 15, 14, 5, 36)}\n\n Status: 400\n Response:\n {\n "error": {\n "message": "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.",\n "type": "OAuthException",\n "code": 190,\n "error_subcode": 460,\n "fbtrace_id": "AE6toeNP5qxBJjK92hGFTRf"\n }\n }\n')</pre></td>
- </tr>
- <tr>
- <td>get_response</td>
- <td class="code"><pre><bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f7d00fb0fa0>></pre></td>
- </tr>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement