thirdandgrove / thirdandgrove-com-gatsby

Gatsby frontend for our Decoupled TAGv5
MIT License
99 stars 28 forks source link

Feature/t5 372 #555

Closed RonaldChicaVera closed 1 year ago

RonaldChicaVera commented 1 year ago

https://thirdandgrove.atlassian.net/browse/T5-372

gatsby-cloud[bot] commented 1 year ago

:x: tagd8_gatsby deploy preview failed

Your build failed. View the build logs.

Errors

Bad response from https://cms.thirdandgrove.com//api/menu_items/footer
"gatsby-source-drupal-menu-links" threw an error while running the sourceNodes lifecycle:

invalid json response body at https://cms.thirdandgrove.com/api/menu_items/footer reason: Unexpected token < in JSON at position 0

  38 |
  39 |   const menuResponses = await Promise.all(menus.map(async menu => {
> 40 |     return await fetch(`${baseUrl}/${apiBase}/menu_items/${menu}`, {
     |            ^
  41 |       headers
  42 |     }).then(function (response) {
  43 |       if (response.status >= 400) {
gatsby-cloud[bot] commented 1 year ago

:white_check_mark: thirdandgrove-com-gatsby-develop deploy preview ready