ETLMCPData Conveyance Works
Log in Start free
Docs

Pinterest connector errors

What each Pinterest error in etlmcp means, which ones pass by themselves, and when you need to reconnect, fix a role or pick later dates.

Coming This connector is coming.

When the Pinterest connector is available, most of its errors fall into three groups: a date range older than Pinterest serves, a login that cannot read reports for an ad account, and short-lived trouble while Pinterest builds or hands over a report. The last group is retried without you doing anything. The first two end the run, and the message says what to change: a later start date, a reconnect, or a different role on the ad account in Pinterest.

Each Pinterest sync requests an asynchronous report of daily rows per ad, waits for it and downloads the file; most messages below come from one of those steps. Field names and setup are on the Pinterest connector page; messages every connector can show are on errors shared by every connector.

Dates older than Pinterest keeps

pinterest keeps 914 days of history: the earliest day available is {…} means the start of your range is further back than Pinterest's reporting reaches. Pinterest's API description says daily report data goes back at most 914 days from the current date in UTC, and that one report may span at most 186 days; the number in the message is that 914-day limit. etlmcp checks the start date before it calls Pinterest and names the earliest day it will accept, counted on the UTC calendar. It does not shorten your range by itself, so pick a later start for your backfill.

etlmcp splits long ranges into several reports, none longer than Pinterest allows. A range that ends after today in UTC is cut off at today, because days that have not begun in UTC have no rows yet.

A role that cannot read reports

Pinterest only lets a user read an ad account's reports when they own the account or hold the Admin, Analyst or Campaign Manager role through Business Access, as its API description states. When the account picker lists an ad account where your login has none of those roles, the account is greyed out with Your role on this ad account cannot read reports (Owner, Admin, Analyst or Campaign Manager is needed).

Pinterest's help center says the Finance roles can view reporting in Pinterest's own interface, yet the reporting API accepts only the roles above. Ask an admin of the ad account to give your Pinterest user one of them, then open the account picker again.

Pinterest has no currency set for this ad account. greys out an account the same way. A sync that meets the same gap later, when the account has no currency stored and Pinterest still reports none, stops with pinterest has no currency set for this ad account. This is not retried: the account cannot sync until Pinterest reports a currency for it.

Access lost after setup

this Pinterest ad account is not available to the connected user ({…}) means Pinterest answered 403 or 404 for one ad account: your user lost its role, or the account is gone. Only that source is marked invalid and the run ends with this ad account is no longer accessible. Your other Pinterest accounts keep syncing.

pinterest needs reconnecting: the grant is missing a permission means Pinterest refused a call because the connection lacks a permission it needs. pinterest rejected the access token means the token was refused twice, the second time after a refresh. Neither is retried. The run ends with Pinterest needs reconnecting (in the code, {…} needs reconnecting), and the connection and all its sources are marked as needing a reconnect. Connect Pinterest again with a user who can read the accounts.

Trouble that passes with time

pinterest is rate limiting requests means Pinterest answered 429. Pinterest's rate limits page puts analytics calls at 300 a minute per user on Standard access and caps Trial access at 1,000 requests a day for the whole app. etlmcp waits, for as long as Pinterest asks when it names a wait, and tries the call again in the same run. If Pinterest keeps refusing, or asks for a longer wait than one run allows, the run ends with this message and the whole run is retried later, as retries describes.

pinterest could not build the report ({…}) means Pinterest's report job failed twice in a row: etlmcp submits a failed job once more before it gives up. The brackets hold the status Pinterest gave, or a short note from etlmcp when Pinterest gave none or sent no link. report not ready after {…} seconds means Pinterest took too long to finish one. Pinterest's API description says a download link lasts five minutes and the report one hour, so when a link is refused etlmcp asks once for a fresh one; if that fails too, the run stops with the pinterest report could not be downloaded. In each case the whole run is retried later.

Report files etlmcp cannot read

A message that starts pinterest returned a report means the downloaded file did not have the shape etlmcp expects. A transient case, such as pinterest returned a report file that arrived empty, is retried. A file whose content is wrong, such as pinterest returned a report without the spend or impressions column, ends the run instead, because loading it would store wrong figures. Days and ads missing from a report are not errors: etlmcp treats a missing row, or a missing figure in a row, as no activity.

Related

Sources

  1. Pinterest REST API — raw.githubusercontent.com, checked
  2. Rate limits — developers.pinterest.com, checked
  3. Business Manager: access, roles and permissions — help.pinterest.com, checked