Skip to Content

Getting Error 403 Bad Request Using ExecuteRESTService

Hello,

I'm trying to post to an AWS endpoint using the WebServiceUtilities.ExecuteRESTService but I keep getting an error 403 bad Request:

http://www.w3.org/TR/html4/loose.dtd">

<HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">

<TITLE>ERROR: The request could not be satisfied</TITLE>

</HEAD><BODY>

<H1>ERROR</H1>

<H2>The request could not be satisfied.</H2>

<HR noshade size="1px">

Bad request.

<BR clear="all">

<HR noshade size="1px">

<PRE>

Generated by cloudfront (CloudFront)

Request ID: ya33fyc8FjklRtWPPAJmByXqf_S8yGegI5kqb3F0iHchDtM-qkXz8g==

</PRE>

<ADDRESS>

The Communication Arrangement is setup (see image) - Authentication method is set to None.

commarragement.png

The code below is called when a Customer account is saved. Basically just want to notify and endpoint that this has occurred.

code.png

I used this blog as a reference: https://blogs.sap.com/2016/10/29/rest-web-service/

Thank you in advance,

Ema

commarragement.png (34.1 kB)
code.png (94.8 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers