-
-
Notifications
You must be signed in to change notification settings - Fork 74
Open
Description
Using
Elsf v2.14.4
Forrest v2.14.1
~
Running from within a command, that's why the trace is short.
Omniphx\Forrest\Exceptions\SalesforceException
[
{
"errorCode": "METHOD_NOT_ALLOWED",
"message": "HTTP Method 'PATCH' not allowed. Allowed are HEAD,GET,POST"
}
]
at vendor/omniphx/forrest/src/Omniphx/Forrest/Client.php:857
853▕ } elseif ($ex->hasResponse()) {
854▕ $error = json_decode($ex->getResponse()->getBody()->getContents(), true);
855▕ $ex->getResponse()->getBody()->rewind();
856▕ $jsonError = json_encode($error,JSON_PRETTY_PRINT);
➜ 857▕ throw new SalesforceException($jsonError, $ex);
858▕ } else {
859▕ throw new SalesforceException(sprintf('Invalid request: %s', $ex->getMessage()), $ex);
860▕ }
861▕ }
New project, new Salesforce, can't find out why 😩
Thanks a lot :)
Metadata
Metadata
Assignees
Labels
No labels