mirror of
https://github.com/NdoleStudio/httpsms.git
synced 2026-04-26 11:25:49 +03:00
[GH-ISSUE #67] C:\xampp\htdocs\bulkemail\vendor\guzzlehttp\guzzle\src\Exception\RequestException.php on line 113 #11
Labels
No labels
In Review
documentation
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/httpsms#11
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mesibug on GitHub (Jan 13, 2023).
Original GitHub issue: https://github.com/NdoleStudio/httpsms/issues/67
Fatal error: Uncaught GuzzleHttp\Exception\ClientException: Client error:
POST https://api.httpsms.com/v1/messages/sendresulted in a422 Unprocessable Entityresponse: {"data":{"content":["The content field must be maximum 1024 char"]},"message":"validation errors while sending message", (truncated...) in C:\xampp\htdocs\bulkemail\vendor\guzzlehttp\guzzle\src\Exception\RequestException.php:113 Stack trace: #0 C:\xampp\htdocs\bulkemail\vendor\guzzlehttp\guzzle\src\Middleware.php(69): GuzzleHttp\Exception\RequestException::create(Object(GuzzleHttp\Psr7\Request), Object(GuzzleHttp\Psr7\Response), NULL, Array, NULL) #1 C:\xampp\htdocs\bulkemail\vendor\guzzlehttp\promises\src\Promise.php(204): GuzzleHttp\Middleware::GuzzleHttp{closure}(Object(GuzzleHttp\Psr7\Response)) #2 C:\xampp\htdocs\bulkemail\vendor\guzzlehttp\promises\src\Promise.php(153): GuzzleHttp\Promise\Promise::callHandler(1, Object(GuzzleHttp\Psr7\Response), NULL) #3 C:\xampp\htdocs\bulkemail\vendor\guzzlehttp\promises\src\TaskQueue.php(48): GuzzleHttp\Prom in C:\xampp\htdocs\bulkemail\vendor\guzzlehttp\guzzle\src\Exception\RequestException.php on line 113@AchoArnold commented on GitHub (Jan 13, 2023):
What's the question @mesibug ?
From the error message you're getting this error because the content field is longer than 1024 characters.
Which type of content are you sending via the API?