Aimeos logs on 500 error

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
User avatar
OleksiiFedorenko
Posts: 2
Joined: 18 Sep 2023, 13:19

Aimeos logs on 500 error

Post by OleksiiFedorenko » 30 Sep 2023, 10:49

Greetings, I have error 500 when I use aimeos jsonapi. Error message said "An error occured and has been added to the logs". If I check madmin_log there is nothing. Where are api logs? Maybe I need to turn on verbose or something?

User avatar
aimeos
Administrator
Posts: 7895
Joined: 01 Jan 1970, 00:00

Re: Aimeos logs on 500 error

Post by aimeos » 02 Oct 2023, 12:46

You can use this configuration in your ./config/shop.php to add the error details to the JSON:API output:

Code: Select all

'client' => [
	'jsonapi' => [
		'debug' => 1
	]
]
See: https://aimeos.org/docs/2023.x/frontend ... r-handling
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply