- Issue created by @RobertoGuzman
- First commit to issue fork.
- 🇫🇮Finland kekkis Pirkkala
See related issue, the patch there fixes this particular problem. There are other problems in that plugin though, but that is out of scope for this issue per se.
I get the below error at the moment of adding a External Data Source Field
I'm using Drupal 10.3.1 and PHP 8.2.21
The website encountered an unexpected error. Try again later.
GuzzleHttp\Exception\ClientException: Client error: `GET https://restcountries.eu/rest/v2/all` resulted in a `404 Not Found` response: 404 page not found in GuzzleHttp\Exception\RequestException::create() (line 113 of vendor/guzzlehttp/guzzle/src/Exception/RequestException.php).
GuzzleHttp\Middleware::GuzzleHttp\{closure}() (Line: 209)
GuzzleHttp\Promise\Promise::callHandler() (Line: 158)
GuzzleHttp\Promise\Promise::GuzzleHttp\Promise\{closure}() (Line: 52)
GuzzleHttp\Promise\TaskQueue->run() (Line: 251)
GuzzleHttp\Promise\Promise->invokeWaitFn() (Line: 227)
GuzzleHttp\Promise\Promise->waitIfPending() (Line: 272)
GuzzleHttp\Promise\Promise->invokeWaitList() (Line: 229)
GuzzleHttp\Promise\Promise->waitIfPending() (Line: 69)
GuzzleHttp\Promise\Promise->wait() (Line: 189)
GuzzleHttp\Client->request() (Line: 44)
GuzzleHttp\Client->get() (Line: 63)
Drupal\external_data_source\Plugin\ExternalDataSource\Countries->getResponse() (Line: 79)
Drupal\external_data_source\Controller\ExternalDataSourceController->optionsForSelect() (Line: 124)
Drupal\external_data_source\Plugin\Field\FieldWidget\ExternalDataSourceSelectWidget->formElement() (Line: 459)
Drupal\Core\Field\WidgetBase->formSingleElement() (Line: 101)
Drupal\Core\Field\WidgetBase->form() (Line: 287)
Drupal\Core\Field\FieldItemList->defaultValuesForm() (Line: 230)
Drupal\field_ui\Form\FieldConfigEditForm->form() (Line: 107)
Drupal\Core\Entity\EntityForm->buildForm()
call_user_func_array() (Line: 536)
Drupal\Core\Form\FormBuilder->retrieveForm() (Line: 284)
Drupal\Core\Form\FormBuilder->buildForm() (Line: 48)
Drupal\Core\Entity\EntityFormBuilder->getForm() (Line: 62)
Drupal\field_ui\Controller\FieldConfigAddController->fieldConfigAddConfigureForm()
call_user_func_array() (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 638)
Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 121)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 181)
Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 53)
Drupal\Core\StackMiddleware\Session->handle() (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 28)
Drupal\Core\StackMiddleware\ContentLength->handle() (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 36)
Drupal\Core\StackMiddleware\AjaxPageState->handle() (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle() (Line: 741)
Drupal\Core\DrupalKernel->handle() (Line: 19)
Active
3.1
User interface
See related issue, the patch there fixes this particular problem. There are other problems in that plugin though, but that is out of scope for this issue per se.