Cannot create a changeset on http://api06.dev.openstreetmap.org #4508
Comments
Author: TomH This bug tracker is only really for issues in the production code - this is probably a configuration issue with the test instance so I'll move this over to the admin category. |
Author: don-vip Ok thanks ! :) |
Author: TomH The exception is in the OAuth code - there is literally none of our code running at the time. I've restarted the server instance but if that doesn't fix it I'm not sure there's much more I can do - if you're testing a new client are you sure your OAuth code is correct? |
Author: TomH It looks like the application key you are sending is wrong and doesn't exist in the database. |
Author: don-vip Damn, you're right, it looks like to be a JOSM bug always using the live API to request OAuth credentials, whatever the server we set up. Sorry for the inconvenience. |
Author: don-vip However, shouldn't the API respond something else than 500 in that case ? 403 maybe ? |
Author: TomH Ideally yes, but as I say it doesn't actually get to out code so any fix would have to be in the rails oauth plugin. |
Author: TomH I've applied a possible fix now - can you try it and see if you get a better error? |
Author: don-vip Much better ! When giving to the dev server a token created with the live API, I get this error now: ResponseCode=401, Error Body= Thank you :) |
Author: TomH Thanks for testing. I've opened pelle/oauth-plugin#125 upstream to get the fix in properly. |
Reporter: don-vip
[Submitted to the original trac issue database at 11.41pm, Tuesday, 7th August 2012]
I cannot create a changeset on the master dev API server, I got an HTTP 500 error at each try:
The text was updated successfully, but these errors were encountered: