1 Answer
- Newest
- Most votes
- Most comments
0
We typically get this error only when 'X-Amz-Target' doesn't have a valid value. I see that in the above code, both 'X-Amz-Target' & 'Content-Type' are being set with the same index for g_request_headers() i.e. 1. From what I saw in Oracle community threads and 3rd party posts, g_request_headers for different headers have different values like g_request_headers(1), g_request_headers(2):
https://community.oracle.com/thread/4027920
https://stackoverflow.com/questions/45714313/getting-response-headers-from-apex-web-service-response-with-pl-sql
Could you try the same and see if this fixes your issue?
Relevant content
- asked 2 years ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 4 years ago