{"id":874342,"date":"2020-10-02T10:21:43","date_gmt":"2020-10-02T15:21:43","guid":{"rendered":"https:\/\/smashballoon.com\/?post_type=doc&#038;p=874342"},"modified":"2025-09-10T12:50:21","modified_gmt":"2025-09-10T17:50:21","slug":"twitter-api-error-message-reference","status":"publish","type":"doc","link":"https:\/\/smashballoon.com\/doc\/twitter-api-error-message-reference\/","title":{"rendered":"X (formerly Twitter) API Error Message Reference"},"content":{"rendered":"<p>If you receive an error message when trying to display your tweets then you can use the table below to diagnose the issue and find the relevant solution.<\/p>\n\n\n<div id=\"sb-error-message-block_620be3f0f8fe3\" class=\"sb-error-message-wrapper\">\n    <div class=\"sb-error-message-inner\">\n                    <div class=\"sb-error-row sb-faq-item\" id=\"\">\n                <span class=\"sb-fi-arrow\"><svg width=\"13\" height=\"8\" viewBox=\"0 0 13 8\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M10.7931 7.77637L6.20312 3.19637L1.61312 7.77637L0.203125 6.36637L6.20312 0.366368L12.2031 6.36637L10.7931 7.77637Z\" fill=\"#141B38\"><\/path><\/svg><\/span>\n                <p class=\"sb-fiq\">\n                    Could not authenticate you                <\/p>\n                <div class=\"sb-faq-answer\">\n                    <h3>Your access tokens might not be valid<\/h3>\n<p>The easiest way to verify this is by going back to the Settings page for the Custom Twitter Feed and clicking the big blue button on the \u201cConfigure\u201d tab to get new access tokens.<\/p>\n<p><strong>Solution:<\/strong><\/p>\n<p>If you haven\u2019t set up your own Twitter App, the only way to use the plugin is to click the big blue button to get an access token and access token secret that is compatible with the default credentials provided by Smash Balloon.<\/p>\n<h3>You have checked the box to use your own app information but one or more of the fields are incorrect<\/h3>\n<p>All four fields, consumer token, consumer secret, access token, and access token secret, need to come from the app that you set up on Twitter.com<\/p>\n<p><strong>Solution:<\/strong><\/p>\n<p>Try returning to your personal app management page\u00a0<a href=\"https:\/\/apps.twitter.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/apps.twitter.com\/<\/a>\u00a0and confirming that all four fields, consumer token, consumer secret, access token, and access token secret, and entered correctly in the corresponding fields on the \u201cConfigure\u201d tab. See example left:<br \/>\n<a href=\"https:\/\/smashballoon.com\/wp-content\/uploads\/2016\/05\/app_tokens_thumb.png\" rel=\"attachment wp-att-171185\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-171185 size-full\" src=\"https:\/\/smashballoon.com\/wp-content\/uploads\/2016\/05\/app_tokens_thumb.png\" sizes=\"auto, (max-width: 1096px) 100vw, 1096px\" srcset=\"https:\/\/smashballoon.com\/wp-content\/uploads\/2016\/05\/app_tokens_thumb.png 1096w, https:\/\/smashballoon.com\/wp-content\/uploads\/2016\/05\/app_tokens_thumb-300x169.png 300w, https:\/\/smashballoon.com\/wp-content\/uploads\/2016\/05\/app_tokens_thumb-768x434.png 768w, https:\/\/smashballoon.com\/wp-content\/uploads\/2016\/05\/app_tokens_thumb-1024x578.png 1024w, https:\/\/smashballoon.com\/wp-content\/uploads\/2016\/05\/app_tokens_thumb-624x352.png 624w\" alt=\"app_tokens_thumb\" width=\"1096\" height=\"619\" \/><\/a><\/p>\n                <\/div>\n            <\/div>\n                    <div class=\"sb-error-row sb-faq-item\" id=\"\">\n                <span class=\"sb-fi-arrow\"><svg width=\"13\" height=\"8\" viewBox=\"0 0 13 8\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M10.7931 7.77637L6.20312 3.19637L1.61312 7.77637L0.203125 6.36637L6.20312 0.366368L12.2031 6.36637L10.7931 7.77637Z\" fill=\"#141B38\"><\/path><\/svg><\/span>\n                <p class=\"sb-fiq\">\n                    Invalid or expired token                <\/p>\n                <div class=\"sb-faq-answer\">\n                    <h3>Your access tokens might not be valid<\/h3>\n<p>The easiest way to verify this is by going back to the Settings page for the Custom Twitter Feed and clicking the big blue button on the \u201cConfigure\u201d tab to get new access tokens.<\/p>\n<p><strong>Solution:<\/strong><\/p>\n<p>If you haven\u2019t set up your own Twitter App, the only way to use the plugin is to click the big blue button to get an access token and access token secret that is compatible with the default credentials provided by Smash Balloon.<\/p>\n                <\/div>\n            <\/div>\n                    <div class=\"sb-error-row sb-faq-item\" id=\"\">\n                <span class=\"sb-fi-arrow\"><svg width=\"13\" height=\"8\" viewBox=\"0 0 13 8\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M10.7931 7.77637L6.20312 3.19637L1.61312 7.77637L0.203125 6.36637L6.20312 0.366368L12.2031 6.36637L10.7931 7.77637Z\" fill=\"#141B38\"><\/path><\/svg><\/span>\n                <p class=\"sb-fiq\">\n                    Unable to load tweets (with no other explanation)                <\/p>\n                <div class=\"sb-faq-answer\">\n                    <h3>You may need to raise the number of tweets to retrieve<\/h3>\n<p>Navigate to the type of feed you are trying to display on twitter.com. For example, if you are displaying a feed from the account smashballoon, go to\u00a0<a href=\"https:\/\/twitter.com\/smashballoon\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/twitter.com\/smashballoon<\/a>. Make sure there are tweets visible. Then click on the link \u201cTweets &amp; replies\u201d. If there are a more recent replies than original tweets, there may be too many tweets being filtered out to display any. Replies are removed by default.<\/p>\n<p><strong>Solution:<\/strong><\/p>\n<p>You can raise the number of tweets to retrieve initially by going to the Custom Twitter Feed Settings page, \u201cCustomize\u201d tab, and navigating to the \u201cAdvanced\u201d area. Then raise the \u201cTweet Multiplier\u201d and test to see if your feed now displays tweets.<\/p>\n                <\/div>\n            <\/div>\n                    <div class=\"sb-error-row sb-faq-item\" id=\"\">\n                <span class=\"sb-fi-arrow\"><svg width=\"13\" height=\"8\" viewBox=\"0 0 13 8\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M10.7931 7.77637L6.20312 3.19637L1.61312 7.77637L0.203125 6.36637L6.20312 0.366368L12.2031 6.36637L10.7931 7.77637Z\" fill=\"#141B38\"><\/path><\/svg><\/span>\n                <p class=\"sb-fiq\">\n                    Sorry, that page does not exist                <\/p>\n                <div class=\"sb-faq-answer\">\n                    <p>There may be a typo in the screen name or hashtag you are attempting to use<\/p>\n                <\/div>\n            <\/div>\n                    <div class=\"sb-error-row sb-faq-item\" id=\"\">\n                <span class=\"sb-fi-arrow\"><svg width=\"13\" height=\"8\" viewBox=\"0 0 13 8\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M10.7931 7.77637L6.20312 3.19637L1.61312 7.77637L0.203125 6.36637L6.20312 0.366368L12.2031 6.36637L10.7931 7.77637Z\" fill=\"#141B38\"><\/path><\/svg><\/span>\n                <p class=\"sb-fiq\">\n                    No Tweets returned                <\/p>\n                <div class=\"sb-faq-answer\">\n                    <p>If you are using a hashtag\/search feed, only tweets made in the last 7 days will be available<\/p>\n                <\/div>\n            <\/div>\n                    <div class=\"sb-error-row sb-faq-item\" id=\"\">\n                <span class=\"sb-fi-arrow\"><svg width=\"13\" height=\"8\" viewBox=\"0 0 13 8\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M10.7931 7.77637L6.20312 3.19637L1.61312 7.77637L0.203125 6.36637L6.20312 0.366368L12.2031 6.36637L10.7931 7.77637Z\" fill=\"#141B38\"><\/path><\/svg><\/span>\n                <p class=\"sb-fiq\">\n                    Over capacity                <\/p>\n                <div class=\"sb-faq-answer\">\n                    <p>Twitter\u2019s servers are over capacity so the API is unusable. This will correct itself after some time<\/p>\n                <\/div>\n            <\/div>\n                    <div class=\"sb-error-row sb-faq-item\" id=\"\">\n                <span class=\"sb-fi-arrow\"><svg width=\"13\" height=\"8\" viewBox=\"0 0 13 8\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M10.7931 7.77637L6.20312 3.19637L1.61312 7.77637L0.203125 6.36637L6.20312 0.366368L12.2031 6.36637L10.7931 7.77637Z\" fill=\"#141B38\"><\/path><\/svg><\/span>\n                <p class=\"sb-fiq\">\n                    Connection timed out after 10000 milliseconds                <\/p>\n                <div class=\"sb-faq-answer\">\n                    <div class=\"accord\">\n<h3>Your host is blocking access to the Twitter API.<\/h3>\n<p><strong>Solution:<\/strong><\/p>\n<p>You will need to contact your host with the following message:<br \/>\nI am trying to use the Twitter API for a feed on my website. Do you have CURL updated to the latest version and will you allow remote requests to https:\/\/api.twitter.com (the Twitter API) on my server?.<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<p>If you\u2019re still having trouble displaying your posts after trying the common issues above then please\u00a0<a title=\"Support\" href=\"https:\/\/smashballoon.com\/custom-twitter-feeds\/support\/\">contact support<\/a>\u00a0for assistance.<\/p>\n                <\/div>\n            <\/div>\n            <\/div>\n<\/div>\n\n\n<p>If you&#8217;re still having trouble displaying your posts after trying the common issues above then please <a href=\"https:\/\/smashballoon.com\/custom-twitter-feeds\/support\/\">contact support<\/a> for assistance.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you receive an error message when trying to display your tweets then you can use the table below to diagnose the issue and find the relevant solution. If you&#8217;re still having trouble displaying your posts after trying the common issues above then please contact support for assistance.<\/p>\n","protected":false},"author":36223,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"_acf_changed":false,"limit_modified_date":"","last_modified_date":"","om_disable_all_campaigns":false,"inline_featured_image":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"doc_categories":[531,340],"class_list":["post-874342","doc","type-doc","status-publish","format-standard","hentry","doc_categories-troubleshooting","doc_categories-twitter"],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/smashballoon.com\/wp-json\/wp\/v2\/docs\/874342","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/smashballoon.com\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/smashballoon.com\/wp-json\/wp\/v2\/types\/doc"}],"author":[{"embeddable":true,"href":"https:\/\/smashballoon.com\/wp-json\/wp\/v2\/users\/36223"}],"replies":[{"embeddable":true,"href":"https:\/\/smashballoon.com\/wp-json\/wp\/v2\/comments?post=874342"}],"version-history":[{"count":9,"href":"https:\/\/smashballoon.com\/wp-json\/wp\/v2\/docs\/874342\/revisions"}],"predecessor-version":[{"id":6714879,"href":"https:\/\/smashballoon.com\/wp-json\/wp\/v2\/docs\/874342\/revisions\/6714879"}],"wp:attachment":[{"href":"https:\/\/smashballoon.com\/wp-json\/wp\/v2\/media?parent=874342"}],"wp:term":[{"taxonomy":"doc_categories","embeddable":true,"href":"https:\/\/smashballoon.com\/wp-json\/wp\/v2\/doc_categories?post=874342"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}