Jeff6301705
Posts: 0
Joined: Sun Oct 06, 2013 5:27 am

Incorrect URL

"status":"405 Method Not Allowed",
"url":"https://api.appery.io/rest/1/db/colle...",
"response":{
"code":"BCXX004",
"description":"No resource method found for PUT, return 405 with Allow header"
}

Still getting this error message, which I don't understand, this is a URL that Apprey create for me when I use the update service, Need help to correct this problem

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Incorrect URL

Did you add the object id that you want to update?

Jeff6301705
Posts: 0
Joined: Sun Oct 06, 2013 5:27 am

Incorrect URL

explain please, I mapped the area that I wanted updated yes, do I need to replace the {object_Id} with something other then what's in the URL example the field that I want to update is NOTES, set to local storage variable notesId would I change the {object_Id} to {NOTES} or to {notesId} this is where I'm having some issues

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Incorrect URL

{object_id} has to be replaced by the actual object is when you run the app. The object id you are trying to update should be first saved into local storage and then mapped to the service.

Jeff6301705
Posts: 0
Joined: Sun Oct 06, 2013 5:27 am

Incorrect URL

Image

This is my mapping, should be pretty easy I only want one object to update.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Incorrect URL

What is the value of CustomerNote?

Jeff6301705
Posts: 0
Joined: Sun Oct 06, 2013 5:27 am

Incorrect URL

Customernote is a label, that displays text from my collection field "NOTES"
It reads from the local storage variable _notesId

I have a text box where I input the information and it property is set to _notesId

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Incorrect URL

Is that a notes field or does it contain the actual object id you are trying to update?

Can you also post the request information from Chrome Dev. Tools Network tab?

Jeff6301705
Posts: 0
Joined: Sun Oct 06, 2013 5:27 am

Incorrect URL

It is just a note field
Image

This is the area I'm trying to update. In some cases there is nothing in the record, however that's what I want to update.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Incorrect URL

Hello! Into object_Id you have to pass _id of object you want to update. Here is more information http://docs.appery.io/documentation/b.... You can see here how to save _id in hidden label http://docs.appery.io/tutorials/build...

Return to “Issues”