Created on 26 July 2023, over 1 year ago
Updated 29 May 2024, 7 months ago

Problem/Motivation

I have followed all the steps, created the service in Google Cloud, created the credentials, added the email to search console as Owner, downloaded the JSON file and uploaded to the configuration in Drupal, and I have sent several urls through the Bulk Update Method.

But when I go to check the metrics in the Google Indexing Api, I can see the requests but there are 100% errors for all the requests, in API method errors and Credential errors. I don't know what else to check to make it work.

Any ideas?

πŸ’¬ Support request
Status

Fixed

Version

2.0

Component

Miscellaneous

Created by

πŸ‡ͺπŸ‡ΈSpain taote

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @taote
  • πŸ‡ΊπŸ‡ΈUnited States danflanagan8 St. Louis, US

    Hi @taote,
    I am the current maintainer of this module, but my knowledge of the Google Indexing API is unfortunately somewhat limited. That said, I will try my best to assist!

    Could you provide details on the errors that you are seeing? Please redact any information that may be sensitive, but the more you can provide, the better.

    Cheers!

  • Status changed to Postponed: needs info over 1 year ago
  • πŸ‡ΊπŸ‡ΈUnited States danflanagan8 St. Louis, US

    Is this still an issue? Or did πŸ› Error: Undefined constant "Drupal\google_index_api\Form\FILE_STATUS_PERMANENT" Fixed fix it?

  • πŸ‡ͺπŸ‡ΈSpain taote

    Hi again.

    I'm still having this problem, that patch didn't fix it.

    I'm not an expert with the Google APIs, I just can see in the graphs that for all the requests have the response code 400.

    I have configured the module following the instructions. I don't know what else to do to fix it. If somebody can please help me.

  • πŸ‡ΊπŸ‡ΈUnited States danflanagan8 St. Louis, US

    Hi @taote. I'm not an expert on Google APIs either. I'm not even really an expert on this module. I adopted it when the original author asked for a co-maintainer. That said, I want to try my best to assist you.

    But I won't be able to offer any help unless you provide error messages and stack traces from the Drupal side of things. Anything that shows up in your db logs, for example.

  • πŸ‡ͺπŸ‡ΈSpain taote

    Hi daflanagan8, I forgot to check the log entries.

    I have sent another url (https://lemonthink.com/servicios/web/medicos) through the bulk update and this is the error in the recent log entries:

    • Type: Google Index API
    • Message: Invalid attribute. 'url' is not in standard URL format: lemonthink.com/servicios/web/medicos
  • Status changed to Fixed about 1 year ago
  • πŸ‡ͺπŸ‡ΈSpain taote

    I think I have found what the problem was. In configuration I wasn't including https:// for The Base Domain of the site.

    It might be a good idea to check before saving the form if https:// or http:// is included.

    Thanks for your help.

  • Automatically closed - issue fixed for 2 weeks with no activity.

  • Status changed to Fixed 7 months ago
  • Hello. How to fix the error "Invalid attribute. 'url' is not in standard URL format: ". This causes 100% API errors. Send addresses with https.

Production build 0.71.5 2024