The ‘500’ error and no logs found in the Cloud Console might suggest that 
requests did not even reach your app. Do you use App Engine Standard or 
Flexible environment? Are you able to deploy the app successfully? Do you 
mean that the variables ‘MAILJET_API_KEY’ and ’MAILJET_SECRET_KEY’ work in 
App Engine or on your own server? Please also provide more description on 
the file structure / path of your app. Such information could be helpful to 
troubleshoot the issue. Thank you.

On Sunday, October 25, 2020 at 6:19:13 PM UTC-4 jukka.ha...@gmail.com wrote:

>
> When trying to use mailjet with php 7 Google App engine, 
> the request to that file gives 500-error and I cannot see any details of 
> the error anywhere in developer console!
>
> - runtime: php72
> -mailjet/mailjet-apiv3-php": "^1.5"
> -This file works 100% on my own server.
>
> - I have narrowed the cause of error to the line
> $mj = new \Mailjet\Client(MAILJET_API_KEY, MAILJET_SECRET_KEY, 
> true,['version' => 'v3.1']);
> but it's from the docs and nothing weird about it, and these api keys of 
> course also works.
>
> Put perhaps the path or something is different in my gae than in my apache 
> ?
> the row that i have is use \Mailjet\Resources; and it's working in my own 
> server ok.
>
>
> Do I need some custom php.ini settings to make this work ? 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/12bf58d0-7d62-4721-9072-08ddd77f078bn%40googlegroups.com.

Reply via email to