Page 1 of 1

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

Posted: Sun Mar 01, 2015 5:30 pm
by Lee Kraus

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

Image Image Image Image Image


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

Posted: Sun Mar 01, 2015 5:47 pm
by Lee Kraus

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?


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

Posted: Mon Mar 02, 2015 8:36 am
by Evgene Karachevtsev

Hello Lee,

Could you please try using PUT?


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

Posted: Mon Mar 02, 2015 3:33 pm
by Lee Kraus

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


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

Posted: Mon Mar 02, 2015 4:00 pm
by Lee Kraus

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.


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

Posted: Thu Mar 05, 2015 2:45 am
by Yurii Orishchuk

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.


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

Posted: Fri Mar 06, 2015 2:17 pm
by Lee Kraus

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