Expected HTTP Error: 400 Bad Request (and additional error happened during JSON parse: Response is not JSON) PHP live server
Aug 6, 2021 at 7:49am • 1 replies • 0 likes
Dominique Brown
Hi,
I have no idea how to resolve this. Please help.
Basically, it works on local. But on live server, it's giving me error.
This sending fax using PHP SDK
Thanks.
Attachments
code.png
test-live.png
localtest.png
1 Answer
answered on Aug 6, 2021 at 8:39am
I have no idea what you do. It's weird that your code is in PHP, and the test results you shared were in Postman. And why sharing code in .png image?
0
on Aug 6, 2021 at 11:44pm • 0 likes
Hi,
I'm calling the API through Postman but the backend is coded in php.
The site doesnt allow me to upload txt or php file that's why I upload image instead.
Can you tell me what's wrong?
I simply follow the codebase here:
https://github.com/ringcentral/ringcentral-php/blob/master/demo/fax.php
and here:
https://developers.ringcentral.com/guide/messaging/fax/sending-faxes
TLDR:
It works on local. Not working live with that error in the title.
A new Community is coming to RingCentral!
Posts are currently read-only as we transition into our new platform.
We thank you for your patience
during this downtime.
Try Workflow Builder
Did you know you can easily automate tasks like responding to SMS, team messages, and more? Plus it's included with RingCentral Video and RingEX plans!
Try RingCentral Workflow Builder