question

navjot singh avatar image
navjot singh asked Anirban answered

400 Expected HTTP Error: resulted in a `400 Bad Request` response

I am facing issue in sending the mms. and i have follow this "https://github.com/ringcentral/ringcentral-php/blob/master/demo/mms.php"

rest api
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Phong Vu avatar image
Phong Vu answered navjot singh commented

Check all the parameters. It should work as such.

1 comment
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

navjot singh avatar image navjot singh commented ·

I have checked that it is working fine on local system and if used the image below the size 500 bytes it is working fine but with image more than 500 bytes it give 400 error.
Thanks

0 Likes 0 ·
Anirban avatar image
Anirban answered

Are you getting similar kind of issue: https://community.ringcentral.com/questions/9269/400-bad-request-on-send-mms.html

Seems incase of mms similar issue happening

1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys