cancel
Showing results for 
Search instead for 
Did you mean: 

Error when connecting to gmail using Open connectors

0 Kudos

Hi Experts ,

I'm trying to establish connection with gmail using Open conenctors (Gmail) in CPI .

I have created the OAuth API key & OAuth API Secret key from the Google Developer console .

Have created the gmail instance in Open connector and did all the required setup .

Also configured the receiver connector (Open connector ) . Screen shot attached .

I'm using a JSON format to send the data . However when sending data I get the below error .

" com.sap.it.rt.adapter.openconnectors.exceptions.OpenConnectorsException: HTTP operation failed : status code : 405"

Can someone help me with the same please . Connector config , Error screen shot and input JSON screen shot is attached herewith .

open-connector.png

content-modifier.png

gmail-error.png

iflow.png

Thanks ,

Nitheesh

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Hi Sriprasad ,

Thanks for the response . I tried directly positing it in Open connector console and I get the error .

Undocumented TypeError: Failed to fetch

coul you please help .oc-console.png

Thanks,

Nitheesh

Sriprasadsbhat
Active Contributor
0 Kudos

Hello Nitheesh,

Quick question.Have you tried directly posting the same json in Open Connectors Console?

Regards,

Sriprasad Shivaram Bhat

0 Kudos

Hi sriprasadshivaramabhat ,

Now I get 200 OK for the same JSON . There was a formatting issue with the structure .

I have corrected it . When directly posting ,email is getting trigerred but when I try using open conenctors , it is failing

Any clue how this can be fixed ?

Thanks ,

Nitheesh