Closed JulienBrochier closed 3 years ago
Hi, I've added this code to my website :
require DIR . '/vendor/autoload.php'; $CrispClient = new Crisp(); $CrispClient->authenticate(identifier, key); $profile = $CrispClient->userProfile->get(); $firstName = $profile["first_name"]; echo "Hello $firstName";
require DIR . '/vendor/autoload.php'; $CrispClient = new Crisp();
$CrispClient->authenticate(identifier, key);
$profile = $CrispClient->userProfile->get(); $firstName = $profile["first_name"]; echo "Hello $firstName";
with my own identifier and key and it returns a 500 error.
In particular, this line : $profile = $CrispClient->userProfile->get() seems to cause the issue.
$profile = $CrispClient->userProfile->get()
I've also tried to create a conversation and I have the same issue
Hello Julien! I can't seem to reproduce. Please feel free to re-open this issue if you still encounter any error again.
Hi, I've added this code to my website :
with my own identifier and key and it returns a 500 error.
In particular, this line :
$profile = $CrispClient->userProfile->get()
seems to cause the issue.I've also tried to create a conversation and I have the same issue