POST request from Apex having an empty HTTP Request body upon retry after JWT Bearer Token session expiration
Last updated 2021-02-16 ·Reference W-6920934 ·Reported By 0 users
A POST request of a Named Credential callout from Apex has an empty HTTP Request body after the OAuth 2.0 JWT Bearer Token session has expired (= when 401 is returned and the request is retried).
- Actual Result
The request has no http body.
- Expected Result
The request has the same body as the first attempt had.
Send a post request of a Named Credential callout from Apex after the session has expired
Send a request again
Reported By (0)
Is it Fixed?
Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.