Advertisement
unfairgamer

Facebook Verbose error log

Nov 15th, 2022
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 40.74 KB | None | 0 0
  1. :::<!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta http-equiv="content-type" content="text/html; charset=utf-8">
  5. <meta name="robots" content="NONE,NOARCHIVE">
  6. <title>FacebookRequestError
  7. at /users/merchant/api/v1/merchant-ads/416</title>
  8. <style type="text/css">
  9. html * { padding:0; margin:0; }
  10. body * { padding:10px 20px; }
  11. body * * { padding:0; }
  12. body { font:small sans-serif; background-color:#fff; color:#000; }
  13. body>div { border-bottom:1px solid #ddd; }
  14. h1 { font-weight:normal; }
  15. h2 { margin-bottom:.8em; }
  16. h3 { margin:1em 0 .5em 0; }
  17. h4 { margin:0 0 .5em 0; font-weight: normal; }
  18. code, pre { font-size: 100%; white-space: pre-wrap; }
  19. summary { cursor: pointer; }
  20. table { border:1px solid #ccc; border-collapse: collapse; width:100%; background:white; }
  21. tbody td, tbody th { vertical-align:top; padding:2px 3px; }
  22. thead th {
  23. padding:1px 6px 1px 3px; background:#fefefe; text-align:left;
  24. font-weight:normal; font-size:11px; border:1px solid #ddd;
  25. }
  26. tbody th { width:12em; text-align:right; color:#666; padding-right:.5em; }
  27. table.vars { margin:5px 0 2px 40px; }
  28. table.vars td, table.req td { font-family:monospace; }
  29. table td.code { width:100%; }
  30. table td.code pre { overflow:hidden; }
  31. table.source th { color:#666; }
  32. table.source td { font-family:monospace; white-space:pre; border-bottom:1px solid #eee; }
  33. ul.traceback { list-style-type:none; color: #222; }
  34. ul.traceback li.frame { padding-bottom:1em; color:#4f4f4f; }
  35. ul.traceback li.user { background-color:#e0e0e0; color:#000 }
  36. div.context { padding:10px 0; overflow:hidden; }
  37. div.context ol { padding-left:30px; margin:0 10px; list-style-position: inside; }
  38. div.context ol li { font-family:monospace; white-space:pre; color:#777; cursor:pointer; padding-left: 2px; }
  39. div.context ol li pre { display:inline; }
  40. div.context ol.context-line li { color:#464646; background-color:#dfdfdf; padding: 3px 2px; }
  41. div.context ol.context-line li span { position:absolute; right:32px; }
  42. .user div.context ol.context-line li { background-color:#bbb; color:#000; }
  43. .user div.context ol li { color:#666; }
  44. div.commands, summary.commands { margin-left: 40px; }
  45. div.commands a, summary.commands { color:#555; text-decoration:none; }
  46. .user div.commands a { color: black; }
  47. #summary { background: #ffc; }
  48. #summary h2 { font-weight: normal; color: #666; }
  49. #explanation { background:#eee; }
  50. #template, #template-not-exist { background:#f6f6f6; }
  51. #template-not-exist ul { margin: 0 0 10px 20px; }
  52. #template-not-exist .postmortem-section { margin-bottom: 3px; }
  53. #unicode-hint { background:#eee; }
  54. #traceback { background:#eee; }
  55. #requestinfo { background:#f6f6f6; padding-left:120px; }
  56. #summary table { border:none; background:transparent; }
  57. #requestinfo h2, #requestinfo h3 { position:relative; margin-left:-100px; }
  58. #requestinfo h3 { margin-bottom:-1em; }
  59. .error { background: #ffc; }
  60. .specific { color:#cc3300; font-weight:bold; }
  61. h2 span.commands { font-size:.7em; font-weight:normal; }
  62. span.commands a:link {color:#5E5694;}
  63. pre.exception_value { font-family: sans-serif; color: #575757; font-size: 1.5em; margin: 10px 0 10px 0; }
  64. .append-bottom { margin-bottom: 10px; }
  65. .fname { user-select: all; }
  66. </style>
  67.  
  68. <script>
  69. function hideAll(elems) {
  70. for (var e = 0; e < elems.length; e++) {
  71. elems[e].style.display = 'none';
  72. }
  73. }
  74. window.onload = function() {
  75. hideAll(document.querySelectorAll('ol.pre-context'));
  76. hideAll(document.querySelectorAll('ol.post-context'));
  77. hideAll(document.querySelectorAll('div.pastebin'));
  78. }
  79. function toggle() {
  80. for (var i = 0; i < arguments.length; i++) {
  81. var e = document.getElementById(arguments[i]);
  82. if (e) {
  83. e.style.display = e.style.display == 'none' ? 'block': 'none';
  84. }
  85. }
  86. return false;
  87. 2022-11-15 10:03:01.624 16594-16594 adError com.tathmini.app E }
  88. function switchPastebinFriendly(link) {
  89. s1 = "Switch to copy-and-paste view";
  90. s2 = "Switch back to interactive view";
  91. link.textContent = link.textContent.trim() == s1 ? s2: s1;
  92. toggle('browserTraceback', 'pastebinTraceback');
  93. return false;
  94. }
  95. </script>
  96.  
  97. </head>
  98. <body>
  99. <div id="summary">
  100. <h1>FacebookRequestError
  101. at /users/merchant/api/v1/merchant-ads/416</h1>
  102. <pre class="exception_value">
  103.  
  104. Message: Call was not successful
  105. Method: POST
  106. Path: https://graph.facebook.com/v13.0/act_493160332374461/adsets
  107. Params: {&#x27;name&#x27;: &#x27;Adset for 40948&#x27;, &#x27;daily_budget&#x27;: &#x27;134&#x27;, &#x27;bid_amount&#x27;: &#x27;134&#x27;, &#x27;billing_event&#x27;: &#x27;IMPRESSIONS&#x27;, &#x27;optimization_goal&#x27;: &#x27;REACH&#x27;, &#x27;campaign_id&#x27;: &#x27;23850720969060647&#x27;, &#x27;targeting&#x27;: &#x27;{&quot;age_max&quot;:65,&quot;age_min&quot;:18,&quot;device_platforms&quot;:[&quot;mobile&quot;,&quot;desktop&quot;],&quot;geo_locations&quot;:{&quot;countries&quot;:[&quot;KE&quot;]},&quot;publisher_platforms&quot;:[&quot;facebook&quot;,&quot;audience_network&quot;,&quot;instagram&quot;]}&#x27;, &#x27;end_time&#x27;: datetime.datetime(2022, 11, 16, 15, 5, 36), &#x27;start_time&#x27;: datetime.datetime(2022, 11, 15, 14, 5, 36)}
  108.  
  109. Status: 400
  110. Response:
  111. {
  112. &quot;error&quot;: {
  113. &quot;message&quot;: &quot;Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.&quot;,
  114. &quot;type&quot;: &quot;OAuthException&quot;,
  115. &quot;code&quot;: 190,
  116. &quot;error_subcode&quot;: 460,
  117. &quot;fbtrace_id&quot;: &quot;AE6toeNP5qxBJjK92hGFTRf&quot;
  118. }
  119. }
  120. </pre>
  121. <table class="meta">
  122.  
  123. <tr>
  124. <th>Request Method:</th>
  125. <td>POST</td>
  126. </tr>
  127. <tr>
  128. <th>Request URL:</th>
  129. <td>https://ajua-com-api.ajua.com/users/merchant/api/v1/merchant-ads/416</td>
  130. </tr>
  131.  
  132. <tr>
  133. <th>Django Version:</th>
  134. <td>4.0.3</td>
  135. </tr>
  136.  
  137. <tr>
  138. <th>Exception Type:</th>
  139. <td>FacebookRequestError</td>
  140. </tr>
  141.  
  142.  
  143. <tr>
  144. <th>Exception Value:</th>
  145. <td><pre>
  146.  
  147. Message: Call was not successful
  148. Method: POST
  149. Path: https://graph.facebook.com/v13.0/act_493160332374461/adsets
  150. Params: {&#x27;name&#x27;: &#x27;Adset for 40948&#x27;, &#x27;daily_budget&#x27;: &#x27;134&#x27;, &#x27;bid_amount&#x27;: &#x27;134&#x27;, &#x27;billing_event&#x27;: &#x27;IMPRESSIONS&#x27;, &#x27;optimization_goal&#x27;: &#x27;REACH&#x27;, &#x27;campaign_id&#x27;: &#x27;23850720969060647&#x27;, &#x27;targeting&#x27;: &#x27;{&quot;age_max&quot;:65,&quot;age_min&quot;:18,&quot;device_platforms&quot;:[&quot;mobile&quot;,&quot;desktop&quot;],&quot;geo_locations&quot;:{&quot;countries&quot;:[&quot;KE&quot;]},&quot;publisher_platforms&quot;:[&quot;facebook&quot;,&quot;audience_network&quot;,&quot;instagram&quot;]}&#x27;, &#x27;end_time&#x27;: datetime.datetime(2022, 11, 16, 15, 5, 36), &#x27;start_time&#x27;: datetime.datetime(2022, 11, 15, 14, 5, 36)}
  151.  
  152. Status: 400
  153. Response:
  154. {
  155. &quot;error&quot;: {
  156. &quot;message&quot;: &quot;Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.&quot;,
  157. &quot;type&quot;: &quot;OAuthException&quot;,
  158. &quot;code&quot;: 190,
  159. &quot;error_subcode&quot;: 460,
  160. &quot;fbtrace_id&quot;: &quot;AE6toeNP5qxBJjK92hGFTRf&quot;
  161. }
  162. }
  163. </pre></td>
  164. </tr>
  165.  
  166.  
  167. <tr>
  168. <th>Exception Location:</th>
  169. <td><span class="fname">/home/ubuntu/lib/python3.8/site-packages/facebook_business/api.py</span>, line 350, in call</td>
  170. </tr>
  171.  
  172. <tr>
  173. <th>Python Executable:</th>
  174. <td>/home/ubuntu/bin/python</td>
  175. </tr>
  176. <tr>
  177. <th>Python Version:</th>
  178. <td>3.8.10</td>
  179. </tr>
  180. <tr>
  181. <th>Python Path:</th>
  182. 2022-11-15 10:03:01.624 16594-16594 adError com.tathmini.app E <td><pre>[&#x27;/home/ubuntu/tathmini-core&#x27;,
  183. &#x27;/home/ubuntu/bin&#x27;,
  184. &#x27;/usr/lib/python38.zip&#x27;,
  185. &#x27;/usr/lib/python3.8&#x27;,
  186. &#x27;/usr/lib/python3.8/lib-dynload&#x27;,
  187. &#x27;/home/ubuntu/lib/python3.8/site-packages&#x27;]</pre></td>
  188. </tr>
  189. <tr>
  190. <th>Server time:</th>
  191. <td>Tue, 15 Nov 2022 14:05:37 +0300</td>
  192. </tr>
  193. </table>
  194. </div>
  195.  
  196.  
  197.  
  198.  
  199. <div id="traceback">
  200. <h2>Traceback <span class="commands"><a href="#" onclick="return switchPastebinFriendly(this);">
  201. Switch to copy-and-paste view</a></span>
  202. </h2>
  203. <div id="browserTraceback">
  204. <ul class="traceback">
  205.  
  206.  
  207. <li class="frame django">
  208.  
  209. <code class="fname">/home/ubuntu/lib/python3.8/site-packages/django/core/handlers/exception.py</code>, line 55, in inner
  210.  
  211.  
  212.  
  213. <div class="context" id="c140174645275840">
  214.  
  215. <ol start="48" class="pre-context" id="pre140174645275840">
  216.  
  217. <li onclick="toggle('pre140174645275840', 'post140174645275840')"><pre></pre></li>
  218.  
  219. <li onclick="toggle('pre140174645275840', 'post140174645275840')"><pre> return inner</pre></li>
  220.  
  221. <li onclick="toggle('pre140174645275840', 'post140174645275840')"><pre> else:</pre></li>
  222.  
  223. <li onclick="toggle('pre140174645275840', 'post140174645275840')"><pre></pre></li>
  224.  
  225. <li onclick="toggle('pre140174645275840', 'post140174645275840')"><pre> @wraps(get_response)</pre></li>
  226.  
  227. <li onclick="toggle('pre140174645275840', 'post140174645275840')"><pre> def inner(request):</pre></li>
  228.  
  229. <li onclick="toggle('pre140174645275840', 'post140174645275840')"><pre> try:</pre></li>
  230.  
  231. </ol>
  232.  
  233. <ol start="55" class="context-line">
  234. <li onclick="toggle('pre140174645275840', 'post140174645275840')"><pre> response = get_response(request)</pre> <span>…</span></li>
  235. </ol>
  236.  
  237. <ol start='56' class="post-context" id="post140174645275840">
  238.  
  239. <li onclick="toggle('pre140174645275840', 'post140174645275840')"><pre> except Exception as exc:</pre></li>
  240.  
  241. <li onclick="toggle('pre140174645275840', 'post140174645275840')"><pre> response = response_for_exception(request, exc)</pre></li>
  242.  
  243. <li onclick="toggle('pre140174645275840', 'post140174645275840')"><pre> return response</pre></li>
  244.  
  245. <li onclick="toggle('pre140174645275840', 'post140174645275840')"><pre></pre></li>
  246.  
  247. <li onclick="toggle('pre140174645275840', 'post140174645275840')"><pre> return inner</pre></li>
  248.  
  249. <li onclick="toggle('pre140174645275840', 'post140174645275840')"><pre></pre></li>
  250.  
  251. </ol>
  252.  
  253. </div>
  254.  
  255.  
  256.  
  257.  
  258. <details>
  259. <summary class="commands">Local vars</summary>
  260.  
  261. <table class="vars" id="v140174645275840">
  262. <thead>
  263. <tr>
  264. <th>Variable</th>
  265. <th>Value</th>
  266. </tr>
  267. </thead>
  268. <tbody>
  269.  
  270. <tr>
  271. <td>exc</td>
  272. 2022-11-15 10:03:01.624 16594-16594 adError com.tathmini.app E <td class="code"><pre>FacebookRequestError(&#x27;\n\n Message: Call was not successful\n Method: POST\n Path: https://graph.facebook.com/v13.0/act_493160332374461/adsets\n Params: {\&#x27;name\&#x27;: \&#x27;Adset for 40948\&#x27;, \&#x27;daily_budget\&#x27;: \&#x27;134\&#x27;, \&#x27;bid_amount\&#x27;: \&#x27;134\&#x27;, \&#x27;billing_event\&#x27;: \&#x27;IMPRESSIONS\&#x27;, \&#x27;optimization_goal\&#x27;: \&#x27;REACH\&#x27;, \&#x27;campaign_id\&#x27;: \&#x27;23850720969060647\&#x27;, \&#x27;targeting\&#x27;: \&#x27;{&quot;age_max&quot;:65,&quot;age_min&quot;:18,&quot;device_platforms&quot;:[&quot;mobile&quot;,&quot;desktop&quot;],&quot;geo_locations&quot;:{&quot;countries&quot;:[&quot;KE&quot;]},&quot;publisher_platforms&quot;:[&quot;facebook&quot;,&quot;audience_network&quot;,&quot;instagram&quot;]}\&#x27;, \&#x27;end_time\&#x27;: datetime.datetime(2022, 11, 16, 15, 5, 36), \&#x27;start_time\&#x27;: datetime.datetime(2022, 11, 15, 14, 5, 36)}\n\n Status: 400\n Response:\n {\n &quot;error&quot;: {\n &quot;message&quot;: &quot;Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.&quot;,\n &quot;type&quot;: &quot;OAuthException&quot;,\n &quot;code&quot;: 190,\n &quot;error_subcode&quot;: 460,\n &quot;fbtrace_id&quot;: &quot;AE6toeNP5qxBJjK92hGFTRf&quot;\n }\n }\n&#x27;)</pre></td>
  273. </tr>
  274.  
  275. <tr>
  276. <td>get_response</td>
  277. <td class="code"><pre>&lt;bound method BaseHandler._get_response of &lt;django.core.handlers.wsgi.WSGIHandler object at 0x7f7d00fb0fa0&gt;&gt;</pre></td>
  278. </tr>
  279.  
  280.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement