Lee Kraus
Posts: 0
Joined: Mon Jan 05, 2015 12:54 am

I am getting a 405 error when trying to update a Salesforce record.

I am getting a Status Code:405 Method Not Allowed error.

Image Image Image Image Image

Lee Kraus
Posts: 0
Joined: Mon Jan 05, 2015 12:54 am

I am getting a 405 error when trying to update a Salesforce record.

Could there be a problem with the data format that works with "Post" but not "Patch". When I change the method to Post it will replace the record with the new information. But I will not update the existing record?

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

I am getting a 405 error when trying to update a Salesforce record.

Hello Lee,

Could you please try using PUT?

Lee Kraus
Posts: 0
Joined: Mon Jan 05, 2015 12:54 am

I am getting a 405 error when trying to update a Salesforce record.

I tried PUT... but now I want to go back to patch... but it won't? Image Image

Lee Kraus
Posts: 0
Joined: Mon Jan 05, 2015 12:54 am

I am getting a 405 error when trying to update a Salesforce record.

FYI... I cloned the service and it started invoking the PATCH method which worked. So I think there is a bug in Appery.io when you change the method in the service, it doesn't update.

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

I am getting a 405 error when trying to update a Salesforce record.

Hi Lee,

Please specify do you have edited sources in your project?

Also did you save this project after set "patch" method and before testing?

Thanks.

Lee Kraus
Posts: 0
Joined: Mon Jan 05, 2015 12:54 am

I am getting a 405 error when trying to update a Salesforce record.

I went back, cleared all the saved setting and re-established as a "Patch" method and it worked.

Return to “Issues”