How to read the 'remain' and 'not_valid' fields after submitting the link to Baidu's push interface

📅 2026-10-13 Cannot translate

What do the fields such as remain, not_valid, etc. in the returned results after calling the API for Baidu Search Resource Platform mean?These fields are a remainder signal and a quality signal: 'remain' tells you how much quota is left for the day, 'not_valid' tells you which links in the submission have not passed validation.After each call, read back in the order of 'number of successful items, remaining quota, invalid list', if the numbers match, stop working, if not, check the site ownership and link format.AnQiCMS's link push module is connected to Baidu Push's active push channel, and the returned fields follow the same set of rules.

What does each of the four fields returned successfully manage

field Meaning Subsequent actions
success The number of links handled this time Compare with the number of submissions, the difference enters investigation
remain Daily remaining quota When zero, the remaining amount is transferred to the next day, or check the entry for raising quota
not_same_site The submitted address does not belong to a verified site Check if the domain ownership and protocol writing are consistent
not_valid The address is invalid Check the format, parameters, and page status item by item

The official document lists API push as the fastest submission method. It is recommended to push new links produced by the site on the same day immediately, so that new links can be discovered by Baidu in a timely manner.

First distinguish which two types of failure to return

Failure responses are divided into two categories: client error codes starting with 4, and 500 server error codes. The former is basically a problem with the call itself - token expiration, site not verified, request format incorrect, retrying a hundred times will not turn green; the latter is a temporary condition on the platform side, just resend it according to the avoidance rhythm. Dealing with both categories together is a major reason why the push script gets more and more messy.

Common reasons for quota being deducted

Firstly, the retry script does not perform idempotence, and the same batch of links is repeatedly submitted to exhaust the quota; secondly, the test data and attachment resource links are also included in the submission list; thirdly, after the site attribution verification fails, the entire batch is resubmitted with different domain names. The safe approach is to actively push only the links produced on the day and not previously pushed, write the four fields into the log after the call, and the next day's reconciliation can clearly see whether the quota consumption comes from normal release.

Which part of the push and sitemap cover

Proactive push solves 'If there are new additions or changes today, inform immediately'; Sitemap (Sitemap) solves 'Full inventory disclosure for periodic rescan'. AnQiCMS supports automatic Sitemap generation and has push channels for Baidu and Bing, with two links managing different segments: new content goes through push for timeliness, and existing corrections rely on the Sitemap. Find a batch of pages that have not been indexed for a long time, first check if they are in the Sitemap, and then see if 'not_valid' is lying in the push return.

Common questions

Question: The remain value is very small, is there a problem with the site?Answer: It is not necessarily so. Quotas are allocated by the platform according to the situation of the site, the small quota only changes the rhythm of 'pushing the content of the day', and the excess part can be submitted in batches. The key is to observe whether the success is consistent with the number of submissions.

Question: If the link always goes to not_valid, what should you check first?Answer: First check the format - whether the protocol and domain are strictly consistent with the verified site, and then check whether the page itself can be accessed normally. If the address is redirected to another place by 301, submit the final address after the redirection is completed.

Question: How long will it take for the push to be included?Answer: Pushing only shortens the 'discovery' process, inclusion and sorting depend on content quality and page experience, do not consider pushing successful as the inclusion is complete.

Related articles

The page engine for the newly published page is taking a long time to crawl, which part does the sitemap and IndexNow manage?

New pages are not indexed in time, first distinguish which part of the site map and IndexNow are responsible for the indexing chain: The site map provides a complete list and tells the engine what is on the site; IndexNow and similar real-time notification mechanisms are responsible for informing participating engines of content changes as soon as possible. Both complement each other, and full and incremental two chains need to be configured in the site to ensure the timeliness of indexing.

2026-10-13

What is the single file limit of the site map, and how to split it into index files when the URL exceeds ten thousand?

The number of entries and the volume limit of a single sitemap file are agreed upon by the protocol. When approaching or exceeding the limit, the file should be split into multiple sub-files and grouped using an index file, organized by category and update time. This article explains the limit from the sitemap protocol, how to split when exceeding the limit, and the method of supplementing the collection时效 through active push after splitting.

2026-10-13

What should be prepared in advance for port and data backup when deploying the enterprise website with Docker?

Before the enterprise website is deployed with Docker, it is necessary to plan the two things of port mapping and data backup in advance. The system provides the official image, listens to the default port 8001, and needs to clarify the internal and external port mapping and access entry before going online; at the same time, the backup capability covers data and static files, which can be restored to avoid the loss of content after the container is rebuilt.

2026-10-13

How can new content be promoted faster to search engines, what do site maps and active push handle?

The site map manages the full volume handover, capturing all addressable URLs in the site at once; the proactive push ensures timely submission, immediately notifying the engine of new and updated addresses. To be indexed faster, both steps must be taken: first, confirm that the page status is a formal document and enter the automatically generated site map, then use link push to Baidu, Bing to push the address, and cooperate with stable static URLs to avoid duplicate versions.

2026-10-13

Writing nofollow in robots.txt actually does not take effect, which standards recognize which fields.

The standard text for excluding by robots, the fields only include User-agent and Disallow groups, nofollow is not defined in robots.txt, and it will not be parsed according to the standard. This article distinguishes between blocking crawling and blocking inclusion: crawling is controlled by robots configuration, inclusion is based on page-level control and server-side redirect convergence, and on-site robots settings and 301 redirect each have their own responsibilities.

2026-10-13

What are the conventions of Disallow, asterisk, and dollar sign in robots.txt?

The two basic instructions of robots.txt are Allow and Disallow, which respectively indicate allowing or prohibiting the crawling of certain paths; the asterisk is a wildcard that can match any character sequence, and the dollar sign at the end of the line indicates that the address ends exactly at this point. This format is standardized by RFC 9309. It should be noted that it only constrains crawling behavior, does not determine whether a page can be included, and is not effective for all robots; after changing the pseudo-static rules within the site, the robots configuration needs to be reviewed to ensure that the match is still valid.

2026-10-13

The page has been changed, but the user still sees the old version. What order should be followed from clearing the cache to verification?

The content has changed, but the front-end is still showing the old page. Most of the time, it's not that the program hasn't taken effect, but rather that the intermediate cache layer is still hitting the old copy. Investigate in three steps: first, prove false on the source station and confirm that the change has really been saved to the database; then clear the cache at an appropriate granularity, with edge nodes supporting a variety of ranges such as address, domain name, tag, prefix, and the entire site; finally, check whether the cache status header in the response has changed from a hit to a source, and confirm that there is no trace of verification through the user side. Make a backup before making batch changes and keep a fallback.

2026-10-13

After the site-wide replacement changes the column name, should the anchor text and pseudo-static rules follow?

The site-wide replacement can change keywords and links in the main text in one go, but it only covers the content text layer: column names and address forms belong to the structure and routing layer. After the change, the keywords in the anchor text library and the matching paths of the static rules may not match the new address. At the end, three things need to be done - check the anchor text distribution range, review the static rules, and check the jump between new and old addresses to prevent broken links left by batch changes. Back up before changing, and keep a fallback ready.

2026-10-13