Error calling Creators API!
Amazon\CreatorsAPI\v1\ApiException: [500] Server error: `POST https://creatorsapi.amazon/catalog/v1/getItems` resulted in a `500 Internal Server Error` response:
{"message":"An unexpected error occurred while processing your request."} in /nfs/contents1/ipc/webtan.impress.co.jp/d10/drupal-10.x/web/modules/custom/bancho_filter_affiliate_links/creatorsapi-php-sdk/src/com/amazon/creators/api/DefaultApi.php:1011
Stack trace:
#0 /nfs/contents1/ipc/webtan.impress.co.jp/d10/drupal-10.x/web/modules/custom/bancho_filter_affiliate_links/creatorsapi-php-sdk/src/com/amazon/creators/api/DefaultApi.php(987): Amazon\CreatorsAPI\v1\com\amazon\creators\api\DefaultApi->getItemsWithHttpInfo()
#1 /nfs/contents1/ipc/webtan.impress.co.jp/d10/drupal-10.x/web/modules/custom/bancho_filter_affiliate_links/src/BanchoFilterAffiliateLinks.php(696): Amazon\CreatorsAPI\v1\com\amazon\creators\api\DefaultApi->getItems()
#2 /nfs/contents1/ipc/webtan.impress.co.jp/d10/drupal-10.x/web/modules/custom/bancho_filter_affiliate_links/src/BanchoFilterAffiliateLinks.php(523): Drupal\bancho_filter_affiliate_links\BanchoFilterAffiliateLinks::amazonGetItems()
#3 /nfs/contents1/ipc/webtan.impress.co.jp/d10/drupal-10.x/web/modules/custom/bancho_filter_affiliate_links/src/BanchoFilterAffiliateLinks.php(390): Drupal\bancho_filter_affiliate_links\BanchoFilterAffiliateLinks::process_token_items_with_amazon_creators_api()
#4 /nfs/contents1/ipc/webtan.impress.co.jp/d10/drupal-10.x/web/modules/custom/bancho_filter_affiliate_links/src/Plugin/Filter/FilterBanchoAffiliateLinks.php(68): Drupal\bancho_filter_affiliate_links\BanchoFilterAffiliateLinks::filter_process_amazon_tokens()
#5 /nfs/contents1/ipc/webtan.impress.co.jp/d10/drupal-10.x/web/modules/custom/bancho_filter_affiliate_links/src/Plugin/Filter/FilterBanchoAffiliateLinks.php(49): Drupal\bancho_filter_affiliate_links\Plugin\Filter\FilterBanchoAffiliateLinks->convertAffiliateLinks()
#6 /nfs/contents1/ipc/webtan.impress.co.jp/d10/drupal-10.x/web/core/modules/filter/src/Element/ProcessedText.php(123): Drupal\bancho_filter_affiliate_links\Plugin\Filter\FilterBanchoAffiliateLinks->process()
#7 [internal function]: Drupal\filter\Element\ProcessedText::preRenderText()
#8 /nfs/contents1/ipc/webtan.impress.co.jp/d10/drupal-10.x/web/core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php(113): call_user_func_array()
#9 /nfs/contents1/ipc/webtan.impress.co.jp/d10/drupal-10.x/web/core/lib/Drupal/Core/Render/Renderer.php(886): Drupal\Core\Render\Renderer->doTrustedCallback()
#10 /nfs/contents1/ipc/webtan.impress.co.jp/d10/drupal-10.x/web/core/lib/Drupal/Core/Render/Renderer.php(431): Drupal\Core\Render\Renderer->doCallback()
#11 /nfs/contents1/ipc/webtan.impress.co.jp/d10/drupal-10.x/web/core/lib/Drupal/Core/Render/Renderer.php(248): Drupal\Core\Render\Renderer->doRender()
#12 /nfs/contents1/ipc/webtan.impress.co.jp/d10/drupal-10.x/web/core/lib/Drupal/Core/Template/TwigExtension.php(484): Drupal\Core\Render\Renderer->render()
#13 /nfs/contents1/ipc/webtan.impress.co.jp/d10/drupal-10.x/web/sites/default/files/php/twig/69f355a359baf_field.html.twig_rkaoz-DgBJ8aWVX2c9ULy7VoU/1ndxIcyL3QykePT3TXqj-iiF0CK57ZPfF9dVbzVd304.php(87): Drupal\Core\Template\TwigExtension->escapeFilter()
#14 /nfs/contents1/ipc/webtan.impress.co.jp/d10/drupal-10.x/vendor/twig/twig/src/Template.php(402): __TwigTemplate_7760aa76f39d9e10583f507744663d6d->doDisplay()
#15 /nfs/contents1/ipc/webtan.impress.co.jp/d10/drupal-10.x/vendor/twig/twig/src/Template.php(358): Twig\Template->yield()
#16 /nfs/contents1/ipc/webtan.impress.co.jp/d10/drupal-10.x/vendor/twig/twig/src/Template.php(373): Twig\Template->display()
#17 /nfs/contents1/ipc/webtan.impress.co.jp/d10/drupal-10.x/vendor/twig/twig/src/TemplateWrapper.php(51): Twig\Template->render()
#18 /nfs/contents1/ipc/webtan.impress.co.jp/d10/drupal-10.x/web/core/themes/engines/twig/twig.engine(33): Twig\TemplateWrapper->render()
#19 /nfs/contents1/ipc/webtan.impress.co.jp/d10/drupal-10.x/web/core/lib/Drupal/Core/Theme/ThemeManager.php(348): twig_render_template()
#20 /nfs/contents1/ipc/webtan.impress.co.jp/d10/drupal-10.x/web/core/lib/Drupal/Core/Render/Renderer.php(490): Drupal\Core\Theme\ThemeManager->render()
#21 /nfs/contents1/ipc/webtan.impress.co.jp/d10/drupal-10.x/web/core/lib/Drupal/Core/Render/Renderer.php(503): Drupal\Core\Render\Renderer->doRender()
#22 /nfs/contents1/ipc/webtan.impress.co.jp/d10/drupal-10.x/web/core/lib/Drupal/Core/Render/Renderer.php(248): Drupal\Core\Render\Renderer->doRender()
#23 /nfs/contents1/ipc/webtan.impress.co.jp/d10/drupal-10.x/web/core/lib/Drupal/Core/Template/TwigExtension.php(484): Drupal\Core\Render\Renderer->render()
#24 /nfs/contents1/ipc/webtan.impress.co.jp/d10/drupal-10.x/web/sites/default/files/php/twig/69f355a359baf_node.html.twig_bKUn4iqoslIyj8XtkM_KK-jFu/7ci3Bh93EQ_nTbLiyxngiS_PRz7grOw32VdYgJ65uQA.php(256): Drupal\Core\Template\TwigExtension->escapeFilter()
#25 /nfs/contents1/ipc/webtan.impress.co.jp/d10/drupal-10.x/vendor/twig/twig/src/Template.php(446): __TwigTemplate_b1df895fd6961b5a824816bd612933d5->block_content_main()
#26 /nfs/contents1/ipc/webtan.impress.co.jp/d10/drupal-10.x/web/sites/default/files/php/twig/69f355a359baf_node.html.twig_bKUn4iqoslIyj8XtkM_KK-jFu/7ci3Bh93EQ_nTbLiyxngiS_PRz7grOw32VdYgJ65uQA.php(231): Twig\Template->yieldBlock()
#27 /nfs/contents1/ipc/webtan.impress.co.jp/d10/drupal-10.x/vendor/twig/twig/src/Template.php(402): __TwigTemplate_b1df895fd6961b5a824816bd612933d5->doDisplay()
#28 /nfs/contents1/ipc/webtan.impress.co.jp/d10/drupal-10.x/vendor/twig/twig/src/Template.php(358): Twig\Template->yield()
#29 /nfs/contents1/ipc/webtan.impress.co.jp/d10/drupal-10.x/vendor/twig/twig/src/Template.php(373): Twig\Template->display()
#30 /nfs/contents1/ipc/webtan.impress.co.jp/d10/drupal-10.x/vendor/twig/twig/src/TemplateWrapper.php(51): Twig\Template->render()
#31 /nfs/contents1/ipc/webtan.impress.co.jp/d10/drupal-10.x/web/core/themes/engines/twig/twig.engine(33): Twig\TemplateWrapper->render()
#32 /nfs/contents1/ipc/webtan.impress.co.jp/d10/drupal-10.x/web/core/lib/Drupal/Core/Theme/ThemeManager.php(348): twig_render_template()
#33 /nfs/contents1/ipc/webtan.impress.co.jp/d10/drupal-10.x/web/core/lib/Drupal/Core/Render/Renderer.php(490): Drupal\Core\Theme\ThemeManager->render()
#34 /nfs/contents1/ipc/webtan.impress.co.jp/d10/drupal-10.x/web/core/lib/Drupal/Core/Render/Renderer.php(248): Drupal\Core\Render\Renderer->doRender()
#35 /nfs/contents1/ipc/webtan.impress.co.jp/d10/drupal-10.x/web/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(242): Drupal\Core\Render\Renderer->render()
#36 /nfs/contents1/ipc/webtan.impress.co.jp/d10/drupal-10.x/web/core/lib/Drupal/Core/Render/Renderer.php(637): Drupal\Core\Render\MainContent\HtmlRenderer->{closure:Drupal\Core\Render\MainContent\HtmlRenderer::prepare():235}()
#37 /nfs/contents1/ipc/webtan.impress.co.jp/d10/drupal-10.x/web/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(235): Drupal\Core\Render\Renderer->executeInRenderContext()
#38 /nfs/contents1/ipc/webtan.impress.co.jp/d10/drupal-10.x/web/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(128): Drupal\Core\Render\MainContent\HtmlRenderer->prepare()
#39 /nfs/contents1/ipc/webtan.impress.co.jp/d10/drupal-10.x/web/core/lib/Drupal/Core/EventSubscriber/MainContentViewSubscriber.php(90): Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse()
#40 [internal function]: Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray()
#41 /nfs/contents1/ipc/webtan.impress.co.jp/d10/drupal-10.x/web/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php(111): call_user_func()
#42 /nfs/contents1/ipc/webtan.impress.co.jp/d10/drupal-10.x/vendor/symfony/http-kernel/HttpKernel.php(186): Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch()
#43 /nfs/contents1/ipc/webtan.impress.co.jp/d10/drupal-10.x/vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw()
#44 /nfs/contents1/ipc/webtan.impress.co.jp/d10/drupal-10.x/web/core/lib/Drupal/Core/StackMiddleware/Session.php(53): Symfony\Component\HttpKernel\HttpKernel->handle()
#45 /nfs/contents1/ipc/webtan.impress.co.jp/d10/drupal-10.x/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle()
#46 /nfs/contents1/ipc/webtan.impress.co.jp/d10/drupal-10.x/web/core/lib/Drupal/Core/StackMiddleware/ContentLength.php(28): Drupal\Core\StackMiddleware\KernelPreHandle->handle()
#47 /nfs/contents1/ipc/webtan.impress.co.jp/d10/drupal-10.x/web/core/modules/big_pipe/src/StackMiddleware/ContentLength.php(32): Drupal\Core\StackMiddleware\ContentLength->handle()
#48 /nfs/contents1/ipc/webtan.impress.co.jp/d10/drupal-10.x/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(201): Drupal\big_pipe\StackMiddleware\ContentLength->handle()
#49 /nfs/contents1/ipc/webtan.impress.co.jp/d10/drupal-10.x/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(138): Drupal\page_cache\StackMiddleware\PageCache->fetch()
#50 /nfs/contents1/ipc/webtan.impress.co.jp/d10/drupal-10.x/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(87): Drupal\page_cache\StackMiddleware\PageCache->lookup()
#51 /nfs/contents1/ipc/webtan.impress.co.jp/d10/drupal-10.x/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\page_cache\StackMiddleware\PageCache->handle()
#52 /nfs/contents1/ipc/webtan.impress.co.jp/d10/drupal-10.x/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle()
#53 /nfs/contents1/ipc/webtan.impress.co.jp/d10/drupal-10.x/web/core/lib/Drupal/Core/StackMiddleware/AjaxPageState.php(36): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle()
#54 /nfs/contents1/ipc/webtan.impress.co.jp/d10/drupal-10.x/web/core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php(51): Drupal\Core\StackMiddleware\AjaxPageState->handle()
#55 /nfs/contents1/ipc/webtan.impress.co.jp/d10/drupal-10.x/web/core/lib/Drupal/Core/DrupalKernel.php(741): Drupal\Core\StackMiddleware\StackedHttpKernel->handle()
#56 /nfs/contents1/ipc/webtan.impress.co.jp/d10/drupal-10.x/web/index.php(19): Drupal\Core\DrupalKernel->handle()
#57 {main}
Amazonは、3月1日(金)9時から3月5日(火)の23:59までの5日間「新生活SALE」を開催している。
新生活SALEと連動した電子書籍のセール「【最大70%OFF】Kindle本 新生活セール」も実施している。最大12冊購入で12%ポイント還元する「まとめ買いキャンペーン」も開催中だ。