Anyone else experiencing issues with Postmaster API?

Suped
New Member

Hi everyone, first time posting but I am wondering if anyone is currently experiencing issues with the Google Postmaster API?

Our product has been using the Postmaster API in prod for months, and suddenly with no changes to our code, I am getting this error:

 

 

 

{
  error: {
    code: 400,
    message: 'Request contains an invalid argument.',
    status: 'INVALID_ARGUMENT'
  }
}

 

 

 

The code is super simple and hasn't changed in months... minimal example looks like this:

 

 

 

  const response = await fetch(
    "https://gmailpostmastertools.googleapis.com/v1/domains",
    {
      headers: {
        Accept: "application/json",
        Authorization: `Bearer ${token}`,
      },
    },
  );

  console.log(await response.json());

 

 

 

But yeah right now I suspect this is a bug with Google's API but interested to hear if it is/isn't working for anybody else?

0 0 102
0 REPLIES 0
Top Labels in this Space